@cordwainer/cw-elements 1.0.3 → 1.1.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.2HCOWDQ2.js +292 -0
- package/cdn/chunks/chunk.2ITDDQ74.js +11 -0
- package/cdn/chunks/chunk.2XB4N7HP.js +24 -0
- package/cdn/chunks/chunk.33RKYZ3H.js +42 -0
- package/cdn/chunks/chunk.3AON4UYF.js +25 -0
- package/cdn/chunks/chunk.3CFMBWU5.js +11 -0
- package/cdn/chunks/chunk.3ITR3YMH.js +16 -0
- package/cdn/chunks/chunk.3KQQNJDR.js +11 -0
- package/cdn/chunks/chunk.3TSAB5QT.js +11 -0
- package/cdn/chunks/chunk.3Z3PLTUL.js +11 -0
- package/cdn/chunks/chunk.43VOQH3T.js +25 -0
- package/cdn/chunks/chunk.4EES6GOQ.js +24 -0
- package/cdn/chunks/chunk.4FMYZJVU.js +24 -0
- package/cdn/chunks/chunk.4JFCP6SO.js +299 -0
- package/cdn/chunks/chunk.4JLZWUJ2.js +302 -0
- package/cdn/chunks/chunk.4K7B4CJ6.js +821 -0
- package/cdn/chunks/chunk.4N647OPV.js +21 -0
- package/cdn/chunks/chunk.4SKKVZ55.js +233 -0
- package/cdn/chunks/chunk.52JGCTU5.js +29 -0
- package/cdn/chunks/chunk.5DU3XP7U.js +24 -0
- package/cdn/chunks/chunk.5OTXX577.js +24 -0
- package/cdn/chunks/chunk.5UHI74VE.js +844 -0
- package/cdn/chunks/chunk.655SUSW2.js +11 -0
- package/cdn/chunks/chunk.66W6K6UW.js +114 -0
- package/cdn/chunks/chunk.6D4WVN7S.js +28 -0
- package/cdn/chunks/chunk.6LLJOWGP.js +36 -0
- package/cdn/chunks/chunk.6RODMT7E.js +24 -0
- package/cdn/chunks/chunk.6YPK3JMS.js +1990 -0
- package/cdn/chunks/chunk.7OU3XWCS.js +120 -0
- package/cdn/chunks/chunk.7PW5UITU.js +21 -0
- package/cdn/chunks/chunk.7QBOR7UC.js +11 -0
- package/cdn/chunks/chunk.7YLCMHGB.js +11 -0
- package/cdn/chunks/chunk.A3K6BVEY.js +1925 -0
- package/cdn/chunks/chunk.AM7AFPJX.js +21 -0
- package/cdn/chunks/chunk.AOMTPHQE.js +11 -0
- package/cdn/chunks/chunk.ARJRMDAZ.js +969 -0
- package/cdn/chunks/chunk.ARU2MPJN.js +49 -0
- package/cdn/chunks/chunk.AWKIJZ56.js +21 -0
- package/cdn/chunks/chunk.B5JS5PSY.js +11 -0
- package/cdn/chunks/chunk.BCL5BS7M.js +267 -0
- package/cdn/chunks/chunk.BQNIJLQQ.js +11 -0
- package/cdn/chunks/chunk.BYPPYZSC.js +174 -0
- package/cdn/chunks/chunk.C5JCJOBY.js +25 -0
- package/cdn/chunks/chunk.C7IERU4U.js +113 -0
- package/cdn/chunks/chunk.CAANYHVQ.js +11 -0
- package/cdn/chunks/chunk.CBIBDTMJ.js +21 -0
- package/cdn/chunks/chunk.CNH6N7WQ.js +11 -0
- package/cdn/chunks/chunk.D2S7DWGA.js +25 -0
- package/cdn/chunks/chunk.D4D7Z3EO.js +11 -0
- package/cdn/chunks/chunk.D5ENUSZC.js +11 -0
- package/cdn/chunks/chunk.DCEJQIUE.js +279 -0
- package/cdn/chunks/chunk.DI3FKHCW.js +904 -0
- package/cdn/chunks/chunk.DRVRTRXM.js +27 -0
- package/cdn/chunks/chunk.DWK5PZP6.js +142 -0
- package/cdn/chunks/chunk.DZF6GS3W.js +28 -0
- package/cdn/chunks/chunk.E7ZSKWYG.js +297 -0
- package/cdn/chunks/chunk.EBASGSNC.js +11 -0
- package/cdn/chunks/chunk.ECL4K2S3.js +95 -0
- package/cdn/chunks/chunk.EIZM5IQF.js +25 -0
- package/cdn/chunks/chunk.EZ4P5QWF.js +295 -0
- package/cdn/chunks/chunk.F3FBYMAV.js +11 -0
- package/cdn/chunks/chunk.FAF5A5AU.js +21 -0
- package/cdn/chunks/chunk.FFPZJUHY.js +11 -0
- package/cdn/chunks/chunk.FIUOWQRA.js +11 -0
- package/cdn/chunks/chunk.FJIVURHU.js +87 -0
- package/cdn/chunks/chunk.FJLDW473.js +339 -0
- package/cdn/chunks/chunk.FMXM264S.js +75 -0
- package/cdn/chunks/chunk.FS5NO3ZJ.js +21 -0
- package/cdn/chunks/chunk.FS7R2DXQ.js +11 -0
- package/cdn/chunks/chunk.G2HEPOXB.js +11 -0
- package/cdn/chunks/chunk.GAQ7ZUAW.js +11 -0
- package/cdn/chunks/chunk.GOD4KD5Z.js +122 -0
- package/cdn/chunks/chunk.GOEVWHFJ.js +218 -0
- package/cdn/chunks/chunk.GXTWKGV2.js +29 -0
- package/cdn/chunks/chunk.GZUCTJRZ.js +26 -0
- package/cdn/chunks/chunk.H6L5SOQU.js +580 -0
- package/cdn/chunks/chunk.HEWQ2PCJ.js +93 -0
- package/cdn/chunks/chunk.HIKINB52.js +27 -0
- package/cdn/chunks/chunk.HNF62D2W.js +402 -0
- package/cdn/chunks/chunk.HNTITCGD.js +11 -0
- package/cdn/chunks/chunk.HOBAXFUI.js +11 -0
- package/cdn/chunks/chunk.HRI5Y66I.js +391 -0
- package/cdn/chunks/chunk.IDD4S3NG.js +25 -0
- package/cdn/chunks/chunk.IFN3MYUZ.js +29 -0
- package/cdn/chunks/chunk.IL2DQ3QY.js +21 -0
- package/cdn/chunks/chunk.IP6SNBIW.js +11 -0
- package/cdn/chunks/chunk.IPSBD5ME.js +11 -0
- package/cdn/chunks/chunk.IQBSTJ65.js +197 -0
- package/cdn/chunks/chunk.JFBDWP4U.js +63 -0
- package/cdn/chunks/chunk.JTXCFBR4.js +11 -0
- package/cdn/chunks/chunk.JW7KHZ4J.js +11 -0
- package/cdn/chunks/chunk.KFWRQHN7.js +11 -0
- package/cdn/chunks/chunk.KGID72UV.js +33 -0
- package/cdn/chunks/chunk.KL5BH3FA.js +24 -0
- package/cdn/chunks/chunk.KSHAFN7C.js +33 -0
- package/cdn/chunks/chunk.KV2FDPRK.js +137 -0
- package/cdn/chunks/chunk.KYNXASIK.js +25 -0
- package/cdn/chunks/chunk.L2C3QJBP.js +11 -0
- package/cdn/chunks/chunk.L4XWYK6U.js +11 -0
- package/cdn/chunks/chunk.LBBPR7N5.js +127 -0
- package/cdn/chunks/chunk.LBW2TUUF.js +724 -0
- package/cdn/chunks/chunk.LCLK7HWZ.js +97 -0
- package/cdn/chunks/chunk.LFFIOKB5.js +33 -0
- package/cdn/chunks/chunk.LGLAK7IY.js +11 -0
- package/cdn/chunks/chunk.LJJCBC53.js +24 -0
- package/cdn/chunks/chunk.LNNK5UGF.js +21 -0
- package/cdn/chunks/chunk.LR4QSFK2.js +49 -0
- package/cdn/chunks/chunk.LWORAYYY.js +11 -0
- package/cdn/chunks/chunk.LWYKDK2Q.js +236 -0
- package/cdn/chunks/chunk.LY3FQEUG.js +135 -0
- package/cdn/chunks/chunk.M3LS5AU5.js +11 -0
- package/cdn/chunks/chunk.MNQ4FIA2.js +11 -0
- package/cdn/chunks/chunk.MSOI5XB5.js +11 -0
- package/cdn/chunks/chunk.MTGAZOUU.js +11 -0
- package/cdn/chunks/chunk.MZTIJ5NI.js +103 -0
- package/cdn/chunks/chunk.N233KOTU.js +50 -0
- package/cdn/chunks/chunk.NDAKKJTZ.js +314 -0
- package/cdn/chunks/chunk.NECVATDY.js +21 -0
- package/cdn/chunks/chunk.NLRLLJCX.js +24 -0
- package/cdn/chunks/chunk.NPMHLMPG.js +21 -0
- package/cdn/chunks/chunk.NQG4ZBID.js +11 -0
- package/cdn/chunks/chunk.NR6EKIVZ.js +216 -0
- package/cdn/chunks/chunk.NUN5N26D.js +25 -0
- package/cdn/chunks/chunk.NYW7VFFN.js +21 -0
- package/cdn/chunks/chunk.OEEDTQST.js +11 -0
- package/cdn/chunks/chunk.OEIWKWEU.js +499 -0
- package/cdn/chunks/chunk.OEJAVM5K.js +33 -0
- package/cdn/chunks/chunk.OIDIDCJJ.js +11 -0
- package/cdn/chunks/chunk.ON57KIEN.js +67 -0
- package/cdn/chunks/chunk.OOAK7TAG.js +44 -0
- package/cdn/chunks/chunk.ORVZZGLB.js +21 -0
- package/cdn/chunks/chunk.OUA6SC6S.js +11 -0
- package/cdn/chunks/chunk.OUT2YMSY.js +21 -0
- package/cdn/chunks/chunk.P4EIGKJN.js +11 -0
- package/cdn/chunks/chunk.P4VJA7SF.js +11 -0
- package/cdn/chunks/chunk.PA5QOKP5.js +11 -0
- package/cdn/chunks/chunk.PBTGD2ZW.js +346 -0
- package/cdn/chunks/chunk.PDXMUT4D.js +118 -0
- package/cdn/chunks/chunk.PFYG5PQN.js +11 -0
- package/cdn/chunks/chunk.PYGN5SMV.js +186 -0
- package/cdn/chunks/chunk.QD5DJ6HW.js +118 -0
- package/cdn/chunks/chunk.QEGMANJD.js +11 -0
- package/cdn/chunks/chunk.QFKEAIZB.js +11 -0
- package/cdn/chunks/chunk.QH62LR5V.js +11 -0
- package/cdn/chunks/chunk.QOTLA23K.js +11 -0
- package/cdn/chunks/chunk.QPA3FW75.js +378 -0
- package/cdn/chunks/chunk.QU63JKLN.js +11 -0
- package/cdn/chunks/chunk.QWWQCQV3.js +24 -0
- package/cdn/chunks/chunk.R2VYKFDL.js +11 -0
- package/cdn/chunks/chunk.R5YQVTTD.js +28 -0
- package/cdn/chunks/chunk.R6T7GVPW.js +291 -0
- package/cdn/chunks/chunk.R7WIIHCX.js +73 -0
- package/cdn/chunks/chunk.ROJPM4GQ.js +24 -0
- package/cdn/chunks/chunk.RT4CAW3E.js +26 -0
- package/cdn/chunks/chunk.RZJ3HU54.js +367 -0
- package/cdn/chunks/chunk.S2AVYGHA.js +11 -0
- package/cdn/chunks/chunk.SDP7CF3A.js +24 -0
- package/cdn/chunks/chunk.SE2G7R3B.js +21 -0
- package/cdn/chunks/chunk.SNCZLCHW.js +77 -0
- package/cdn/chunks/chunk.SYCSG742.js +52 -0
- package/cdn/chunks/chunk.SZPC7S7X.js +255 -0
- package/cdn/chunks/chunk.T6VVR4ZE.js +21 -0
- package/cdn/chunks/chunk.T73FEO3I.js +11 -0
- package/cdn/chunks/chunk.TEV7KYVM.js +24 -0
- package/cdn/chunks/chunk.TKCWOOX6.js +11 -0
- package/cdn/chunks/chunk.TWMGSSDH.js +11 -0
- package/cdn/chunks/chunk.TZPNJJKB.js +11 -0
- package/cdn/chunks/chunk.UC7EWMAO.js +29 -0
- package/cdn/chunks/chunk.UJDGTUBN.js +26 -0
- package/cdn/chunks/chunk.ULWZXCAU.js +27 -0
- package/cdn/chunks/chunk.V5LILEPX.js +153 -0
- package/cdn/chunks/chunk.VAJXTKN4.js +11 -0
- package/cdn/chunks/chunk.VAOKIXI6.js +27 -0
- package/cdn/chunks/chunk.VDP6PTWO.js +21 -0
- package/cdn/chunks/chunk.VMPRIN5S.js +28 -0
- package/cdn/chunks/chunk.VWYUYCHL.js +158 -0
- package/cdn/chunks/chunk.W3N2EFBL.js +21 -0
- package/cdn/chunks/chunk.WAGPTPZE.js +11 -0
- package/cdn/chunks/chunk.WLRCSPNA.js +79 -0
- package/cdn/chunks/chunk.WQSEOTUN.js +11 -0
- package/cdn/chunks/chunk.WY27JU74.js +11 -0
- package/cdn/chunks/chunk.X7J57Z6J.js +11 -0
- package/cdn/chunks/chunk.XPKWG7LR.js +28 -0
- package/cdn/chunks/chunk.XQWZA6HB.js +21 -0
- package/cdn/chunks/chunk.Y2YDNSAD.js +27 -0
- package/cdn/chunks/chunk.Y6MNSLG2.js +350 -0
- package/cdn/chunks/chunk.YMYUMO3J.js +336 -0
- package/cdn/chunks/chunk.YXJDZ2OS.js +21 -0
- package/cdn/chunks/chunk.ZQL4G2MF.js +25 -0
- package/cdn/chunks/chunk.ZRPKY6II.js +11 -0
- package/cdn/chunks/chunk.ZSU7N44F.js +21 -0
- package/cdn/chunks/chunk.ZSVNJLS5.js +455 -0
- package/cdn/chunks/chunk.ZU6JOHHU.js +24 -0
- package/cdn/chunks/chunk.ZVSJARP7.js +82 -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 +16 -16
- package/cdn/components/color-picker/color-picker.js +17 -17
- package/cdn/components/combobox/combobox.component.d.ts +219 -0
- package/cdn/components/combobox/combobox.component.js +44 -0
- package/cdn/components/combobox/combobox.d.ts +8 -0
- package/cdn/components/combobox/combobox.js +45 -0
- package/cdn/components/combobox/combobox.styles.d.ts +2 -0
- package/cdn/components/combobox/combobox.styles.js +8 -0
- package/cdn/components/copy-button/copy-button.component.js +10 -10
- package/cdn/components/copy-button/copy-button.js +11 -11
- package/cdn/components/date-picker/date-picker.component.d.ts +190 -0
- package/cdn/components/date-picker/date-picker.component.js +36 -0
- package/cdn/components/date-picker/date-picker.d.ts +8 -0
- package/cdn/components/date-picker/date-picker.js +37 -0
- package/cdn/components/date-picker/date-picker.styles.d.ts +2 -0
- package/cdn/components/date-picker/date-picker.styles.js +8 -0
- package/cdn/components/details/details.component.js +7 -7
- package/cdn/components/details/details.js +8 -8
- package/cdn/components/dialog/dialog.component.js +9 -9
- package/cdn/components/dialog/dialog.js +10 -10
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +9 -9
- package/cdn/components/drawer/drawer.js +10 -10
- 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-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/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.d.ts +49 -0
- package/cdn/components/pagination/pagination.component.js +28 -0
- package/cdn/components/pagination/pagination.d.ts +8 -0
- package/cdn/components/pagination/pagination.js +29 -0
- package/cdn/components/pagination/pagination.styles.d.ts +2 -0
- package/cdn/components/pagination/pagination.styles.js +8 -0
- package/cdn/components/popup/popup.component.js +4 -4
- package/cdn/components/popup/popup.js +5 -5
- 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 +8 -8
- package/cdn/components/rating/rating.js +9 -9
- 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 +12 -12
- package/cdn/components/select/select.js +13 -13
- 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.d.ts +184 -0
- package/cdn/components/time-picker/time-picker.component.js +35 -0
- package/cdn/components/time-picker/time-picker.d.ts +8 -0
- package/cdn/components/time-picker/time-picker.js +36 -0
- package/cdn/components/time-picker/time-picker.styles.d.ts +2 -0
- package/cdn/components/time-picker/time-picker.styles.js +8 -0
- package/cdn/components/tooltip/tooltip.component.js +5 -5
- package/cdn/components/tooltip/tooltip.js +6 -6
- package/cdn/components/tree/tree.component.js +11 -11
- package/cdn/components/tree/tree.js +12 -12
- 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 +10787 -7218
- package/cdn/cw-elements.d.ts +4 -0
- package/cdn/cw-elements.js +176 -152
- 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 +17 -17
- package/cdn/react/combobox/index.d.ts +87 -0
- package/cdn/react/combobox/index.js +45 -0
- package/cdn/react/copy-button/index.js +11 -11
- package/cdn/react/date-picker/index.d.ts +81 -0
- package/cdn/react/date-picker/index.js +37 -0
- package/cdn/react/details/index.js +8 -8
- package/cdn/react/dialog/index.js +10 -10
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +10 -10
- 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 +179 -155
- package/cdn/react/input/index.js +8 -8
- 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.d.ts +26 -0
- package/cdn/react/pagination/index.js +29 -0
- package/cdn/react/popup/index.js +5 -5
- 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 +9 -9
- package/cdn/react/relative-time/index.js +5 -5
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/select/index.js +13 -13
- 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.d.ts +77 -0
- package/cdn/react/time-picker/index.js +36 -0
- package/cdn/react/tooltip/index.js +6 -6
- package/cdn/react/tree/index.js +12 -12
- 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 +2 -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 +472 -0
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/utilities/localize.d.ts +10 -0
- package/cdn/utilities/localize.js +2 -2
- package/cdn/vscode.html-custom-data.json +377 -0
- package/cdn/web-types.json +2113 -1026
- package/dist/chunks/chunk.2H4HZOD6.js +15 -0
- package/dist/chunks/chunk.2MQORRRY.js +11 -0
- package/dist/chunks/chunk.2PKCIQLP.js +42 -0
- package/dist/chunks/chunk.2RLWEUTO.js +33 -0
- package/dist/chunks/chunk.3J5QI4JK.js +25 -0
- package/dist/chunks/chunk.3KHBUHFC.js +11 -0
- package/dist/chunks/chunk.3SGQL66D.js +34 -0
- package/dist/chunks/chunk.3TDGRVGW.js +231 -0
- package/dist/chunks/chunk.43D3JN4D.js +813 -0
- package/dist/chunks/chunk.4EVEVJPF.js +11 -0
- package/dist/chunks/chunk.4IMMLOHV.js +21 -0
- package/dist/chunks/chunk.4PELDTWU.js +94 -0
- package/dist/chunks/chunk.4QI4XQMO.js +370 -0
- package/dist/chunks/chunk.5BCRHR5N.js +11 -0
- package/dist/chunks/chunk.5FHLKLBD.js +33 -0
- package/dist/chunks/chunk.5LAPZTKG.js +67 -0
- package/dist/chunks/chunk.5NIRKV36.js +11 -0
- package/dist/chunks/chunk.5Q7Z4CF5.js +11 -0
- package/dist/chunks/chunk.5QKXA4SG.js +11 -0
- package/dist/chunks/chunk.5UHMCLES.js +113 -0
- package/dist/chunks/chunk.5Z6HEUEV.js +227 -0
- package/dist/chunks/chunk.65DV4VYU.js +294 -0
- package/dist/chunks/chunk.65IQW2LO.js +11 -0
- package/dist/chunks/chunk.6KCZ7HCZ.js +21 -0
- package/dist/chunks/chunk.6S2N3IGZ.js +24 -0
- package/dist/chunks/chunk.6V4BLPJO.js +27 -0
- package/dist/chunks/chunk.73HOFQXB.js +73 -0
- package/dist/chunks/chunk.76PNPNJ3.js +116 -0
- package/dist/chunks/chunk.76QD6SEE.js +192 -0
- package/dist/chunks/chunk.7F5K2B3K.js +11 -0
- package/dist/chunks/chunk.7H5CO23V.js +21 -0
- package/dist/chunks/chunk.7NNDVKVL.js +27 -0
- package/dist/chunks/chunk.7R6FIZB3.js +26 -0
- package/dist/chunks/chunk.7RBDQ2Q2.js +290 -0
- package/dist/chunks/chunk.7RGLY5S5.js +11 -0
- package/dist/chunks/chunk.7RZ4QYRJ.js +24 -0
- package/dist/chunks/chunk.7UJMCUQZ.js +93 -0
- package/dist/chunks/chunk.7XNX5RX5.js +21 -0
- package/dist/chunks/chunk.ACJPI2ZP.js +21 -0
- package/dist/chunks/chunk.AK7AQCUZ.js +397 -0
- package/dist/chunks/chunk.AMPETZRT.js +25 -0
- package/dist/chunks/chunk.AO5R5WRH.js +11 -0
- package/dist/chunks/chunk.AODRAEIP.js +27 -0
- package/dist/chunks/chunk.ARJBERRZ.js +11 -0
- package/dist/chunks/chunk.ATZFHYGU.js +11 -0
- package/dist/chunks/chunk.AX4VQJ2Y.js +837 -0
- package/dist/chunks/chunk.AY44GO7E.js +11 -0
- package/dist/chunks/chunk.B2H5BCXK.js +26 -0
- package/dist/chunks/chunk.BBCQTHKV.js +25 -0
- package/dist/chunks/chunk.BHQYPJVY.js +85 -0
- package/dist/chunks/chunk.BW7LP64Q.js +28 -0
- package/dist/chunks/chunk.C6CMN3L6.js +21 -0
- package/dist/chunks/chunk.C73LCOB6.js +11 -0
- package/dist/chunks/chunk.CA4QX643.js +135 -0
- package/dist/chunks/chunk.CIX52UF6.js +11 -0
- package/dist/chunks/chunk.D6GLBPCC.js +50 -0
- package/dist/chunks/chunk.DEOXGA6Y.js +11 -0
- package/dist/chunks/chunk.DFQRUEUQ.js +961 -0
- package/dist/chunks/chunk.DW73DS3K.js +21 -0
- package/dist/chunks/chunk.E6CN5MCG.js +45 -0
- package/dist/chunks/chunk.ECLUEVFQ.js +11 -0
- package/dist/chunks/chunk.ELM2KTTL.js +336 -0
- package/dist/chunks/chunk.EPO6OMTJ.js +11 -0
- package/dist/chunks/chunk.EXT4JQLR.js +42 -0
- package/dist/chunks/chunk.EYA3B3XL.js +292 -0
- package/dist/chunks/chunk.F32NLI2K.js +22 -0
- package/dist/chunks/chunk.F3HU4FRE.js +11 -0
- package/dist/chunks/chunk.FHGNOZ3M.js +24 -0
- package/dist/chunks/chunk.GACJOPHW.js +21 -0
- package/dist/chunks/chunk.GB5ZNIFK.js +115 -0
- package/dist/chunks/chunk.GNTQPKMI.js +22 -0
- package/dist/chunks/chunk.GR5TXY3I.js +11 -0
- package/dist/chunks/chunk.H5OSCBD4.js +11 -0
- package/dist/chunks/chunk.H6XYUOZQ.js +21 -0
- package/dist/chunks/chunk.HQABLPRL.js +11 -0
- package/dist/chunks/chunk.HR4KJEN7.js +21 -0
- package/dist/chunks/chunk.IBBKXLSG.js +247 -0
- package/dist/chunks/chunk.IBFFKPMJ.js +21 -0
- package/dist/chunks/chunk.IEHK5ZAT.js +28 -0
- package/dist/chunks/chunk.ILC22ZAI.js +315 -0
- package/dist/chunks/chunk.ISPW6VWV.js +25 -0
- package/dist/chunks/chunk.ITLMQYJE.js +11 -0
- package/dist/chunks/chunk.J4LIU6PI.js +109 -0
- package/dist/chunks/chunk.JD34XJ6C.js +417 -0
- package/dist/chunks/chunk.JNQIYERA.js +80 -0
- package/dist/chunks/chunk.K5Z3ITGZ.js +24 -0
- package/dist/chunks/chunk.K7LTF73O.js +11 -0
- package/dist/chunks/chunk.KDQUV5WY.js +11 -0
- package/dist/chunks/chunk.KHBX4ULR.js +181 -0
- package/dist/chunks/chunk.KPHFMPFR.js +11 -0
- package/dist/chunks/chunk.KQTQK5MD.js +111 -0
- package/dist/chunks/chunk.KZNVSSO7.js +280 -0
- package/dist/chunks/chunk.L4XMKPQH.js +25 -0
- package/dist/chunks/chunk.LAFKBNYZ.js +119 -0
- package/dist/chunks/chunk.LAFWNCOU.js +11 -0
- package/dist/chunks/chunk.LKADYOCK.js +24 -0
- package/dist/chunks/chunk.LQ347S54.js +126 -0
- package/dist/chunks/chunk.LWLRBQ5J.js +949 -0
- package/dist/chunks/chunk.LWMAUYHC.js +26 -0
- package/dist/chunks/chunk.LXY3R7YG.js +21 -0
- package/dist/chunks/chunk.MDYXLMXH.js +11 -0
- package/dist/chunks/chunk.MICTHKCS.js +151 -0
- package/dist/chunks/chunk.MQA77RMD.js +100 -0
- package/dist/chunks/chunk.MVOUSXSF.js +91 -0
- package/dist/chunks/chunk.NBUSQ542.js +24 -0
- package/dist/chunks/chunk.NH42D4UE.js +24 -0
- package/dist/chunks/chunk.NP4OUAXU.js +11 -0
- package/dist/chunks/chunk.O2IU3M7C.js +24 -0
- package/dist/chunks/chunk.O2ZVM6SW.js +75 -0
- package/dist/chunks/chunk.O4GMXCLR.js +134 -0
- package/dist/chunks/chunk.O5XY6B7A.js +11 -0
- package/dist/chunks/chunk.OGWIBXT7.js +63 -0
- package/dist/chunks/chunk.OIFFM3XU.js +75 -0
- package/dist/chunks/chunk.OIPUR7ON.js +11 -0
- package/dist/chunks/chunk.OOAK7TAG.js +44 -0
- package/dist/chunks/chunk.PAX3G5WD.js +11 -0
- package/dist/chunks/chunk.PFF33EOI.js +11 -0
- package/dist/chunks/chunk.PQ3TMW3U.js +11 -0
- package/dist/chunks/chunk.PYUUOHXO.js +11 -0
- package/dist/chunks/chunk.PZEU3QVW.js +29 -0
- package/dist/chunks/chunk.Q2KYARNF.js +11 -0
- package/dist/chunks/chunk.QCNSBCC4.js +21 -0
- package/dist/chunks/chunk.QD6ZHCQB.js +11 -0
- package/dist/chunks/chunk.QDHPCZYU.js +361 -0
- package/dist/chunks/chunk.QDI4JIQP.js +21 -0
- package/dist/chunks/chunk.QXODBA7E.js +274 -0
- package/dist/chunks/chunk.R55RM4C7.js +21 -0
- package/dist/chunks/chunk.RGBGPSJY.js +49 -0
- package/dist/chunks/chunk.RIZVMR72.js +28 -0
- package/dist/chunks/chunk.RM5L3IOA.js +90 -0
- package/dist/chunks/chunk.RU4DLCZV.js +337 -0
- package/dist/chunks/chunk.S6V3X736.js +311 -0
- package/dist/chunks/chunk.SDOJGRAK.js +11 -0
- package/dist/chunks/chunk.SEZSK32Z.js +29 -0
- package/dist/chunks/chunk.SGSFAE2H.js +11 -0
- package/dist/chunks/chunk.SOXPH2YX.js +11 -0
- package/dist/chunks/chunk.SPHLRGEH.js +24 -0
- package/dist/chunks/chunk.SRCMHGIO.js +448 -0
- package/dist/chunks/chunk.SU27LAPT.js +21 -0
- package/dist/chunks/chunk.T2O3LNNZ.js +11 -0
- package/dist/chunks/chunk.T325IMR5.js +21 -0
- package/dist/chunks/chunk.T532OZDW.js +28 -0
- package/dist/chunks/chunk.TAFVMUNL.js +24 -0
- package/dist/chunks/chunk.TLANNMVK.js +29 -0
- package/dist/chunks/chunk.TNOY6DAH.js +491 -0
- package/dist/chunks/chunk.TRSBHO5X.js +213 -0
- package/dist/chunks/chunk.TWJDGQUP.js +21 -0
- package/dist/chunks/chunk.U2KFH7IQ.js +11 -0
- package/dist/chunks/chunk.U2VXEMIB.js +27 -0
- package/dist/chunks/chunk.U3E4RUF3.js +25 -0
- package/dist/chunks/chunk.U5LW3SOP.js +170 -0
- package/dist/chunks/chunk.UBMVNKLH.js +11 -0
- package/dist/chunks/chunk.UGMPZPOC.js +896 -0
- package/dist/chunks/chunk.UQJIYR5Y.js +25 -0
- package/dist/chunks/chunk.UVAZQGMH.js +259 -0
- package/dist/chunks/chunk.UYUXI3C5.js +11 -0
- package/dist/chunks/chunk.UZ32VHHN.js +25 -0
- package/dist/chunks/chunk.V7L5VH2Q.js +28 -0
- package/dist/chunks/chunk.V7MYJXMP.js +11 -0
- package/dist/chunks/chunk.VBV4B3MS.js +45 -0
- package/dist/chunks/chunk.VOHIUZ6B.js +11 -0
- package/dist/chunks/chunk.VPBLXZTT.js +11 -0
- package/dist/chunks/chunk.VQCBJ2CK.js +25 -0
- package/dist/chunks/chunk.VU3W74XH.js +11 -0
- package/dist/chunks/chunk.W2GR4RJE.js +33 -0
- package/dist/chunks/chunk.W4JLUJUI.js +21 -0
- package/dist/chunks/chunk.WD6B4MTR.js +11 -0
- package/dist/chunks/chunk.WJF5XUDZ.js +21 -0
- package/dist/chunks/chunk.WTPEMOIE.js +29 -0
- package/dist/chunks/chunk.WW7EXCNV.js +11 -0
- package/dist/chunks/chunk.X2CXPW44.js +11 -0
- package/dist/chunks/chunk.XBZBOF5F.js +11 -0
- package/dist/chunks/chunk.XEIGR7UN.js +11 -0
- package/dist/chunks/chunk.XMG7E7TA.js +24 -0
- package/dist/chunks/chunk.XN44PEUX.js +11 -0
- package/dist/chunks/chunk.XOU3MYJD.js +21 -0
- package/dist/chunks/chunk.XPDQCCD3.js +11 -0
- package/dist/chunks/chunk.XTSODF7Y.js +33 -0
- package/dist/chunks/chunk.XYCRVLA3.js +11 -0
- package/dist/chunks/chunk.Y7NKENZS.js +11 -0
- package/dist/chunks/chunk.YBDJDQJP.js +11 -0
- package/dist/chunks/chunk.YE5N3PSS.js +59 -0
- package/dist/chunks/chunk.YK27CZ2Z.js +550 -0
- package/dist/chunks/chunk.YMDR4GNB.js +11 -0
- package/dist/chunks/chunk.YOSWTWCE.js +293 -0
- package/dist/chunks/chunk.YQYPY5UZ.js +347 -0
- package/dist/chunks/chunk.YS6YVFW6.js +11 -0
- package/dist/chunks/chunk.YYOXSBIU.js +11 -0
- package/dist/chunks/chunk.Z2AEINB6.js +24 -0
- package/dist/chunks/chunk.Z2UUL2QO.js +117 -0
- package/dist/chunks/chunk.Z2XNWJKH.js +25 -0
- package/dist/chunks/chunk.Z4VHIICI.js +147 -0
- package/dist/chunks/chunk.ZF3SPCYS.js +100 -0
- package/dist/chunks/chunk.ZQVQKLWH.js +286 -0
- package/dist/chunks/chunk.ZVXW5IDX.js +384 -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 +16 -16
- package/dist/components/color-picker/color-picker.js +17 -17
- package/dist/components/combobox/combobox.component.d.ts +219 -0
- package/dist/components/combobox/combobox.component.js +36 -0
- package/dist/components/combobox/combobox.d.ts +8 -0
- package/dist/components/combobox/combobox.js +37 -0
- package/dist/components/combobox/combobox.styles.d.ts +2 -0
- package/dist/components/combobox/combobox.styles.js +7 -0
- package/dist/components/copy-button/copy-button.component.js +10 -10
- package/dist/components/copy-button/copy-button.js +11 -11
- package/dist/components/date-picker/date-picker.component.d.ts +190 -0
- package/dist/components/date-picker/date-picker.component.js +29 -0
- package/dist/components/date-picker/date-picker.d.ts +8 -0
- package/dist/components/date-picker/date-picker.js +30 -0
- package/dist/components/date-picker/date-picker.styles.d.ts +2 -0
- package/dist/components/date-picker/date-picker.styles.js +7 -0
- package/dist/components/details/details.component.js +7 -7
- package/dist/components/details/details.js +8 -8
- package/dist/components/dialog/dialog.component.js +9 -9
- package/dist/components/dialog/dialog.js +10 -10
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +9 -9
- package/dist/components/drawer/drawer.js +10 -10
- 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-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/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.d.ts +49 -0
- package/dist/components/pagination/pagination.component.js +21 -0
- package/dist/components/pagination/pagination.d.ts +8 -0
- package/dist/components/pagination/pagination.js +22 -0
- package/dist/components/pagination/pagination.styles.d.ts +2 -0
- package/dist/components/pagination/pagination.styles.js +7 -0
- package/dist/components/popup/popup.component.js +4 -4
- package/dist/components/popup/popup.js +5 -5
- 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 +12 -12
- package/dist/components/select/select.js +13 -13
- 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.d.ts +184 -0
- package/dist/components/time-picker/time-picker.component.js +30 -0
- package/dist/components/time-picker/time-picker.d.ts +8 -0
- package/dist/components/time-picker/time-picker.js +31 -0
- package/dist/components/time-picker/time-picker.styles.d.ts +2 -0
- package/dist/components/time-picker/time-picker.styles.js +7 -0
- package/dist/components/tooltip/tooltip.component.js +5 -5
- package/dist/components/tooltip/tooltip.js +6 -6
- package/dist/components/tree/tree.component.js +11 -11
- package/dist/components/tree/tree.js +12 -12
- 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 +10787 -7218
- package/dist/cw-elements.d.ts +4 -0
- package/dist/cw-elements.js +175 -151
- 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 +17 -17
- package/dist/react/combobox/index.d.ts +87 -0
- package/dist/react/combobox/index.js +37 -0
- package/dist/react/copy-button/index.js +11 -11
- package/dist/react/date-picker/index.d.ts +81 -0
- package/dist/react/date-picker/index.js +30 -0
- package/dist/react/details/index.js +8 -8
- package/dist/react/dialog/index.js +10 -10
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +10 -10
- 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 +178 -154
- package/dist/react/input/index.js +8 -8
- 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.d.ts +26 -0
- package/dist/react/pagination/index.js +22 -0
- package/dist/react/popup/index.js +5 -5
- 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 +13 -13
- 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.d.ts +77 -0
- package/dist/react/time-picker/index.js +31 -0
- package/dist/react/tooltip/index.js +6 -6
- package/dist/react/tree/index.js +12 -12
- 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 +2 -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 +472 -0
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +10 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +377 -0
- package/dist/web-types.json +2113 -1026
- package/package.json +1 -1
- package/cdn/chunks/chunk.2A5EVHQW.js +0 -153
- package/cdn/chunks/chunk.2CIIZRV6.js +0 -11
- package/cdn/chunks/chunk.2COBQQ72.js +0 -24
- package/cdn/chunks/chunk.2KPKFPBC.js +0 -11
- package/cdn/chunks/chunk.2MBBWAS7.js +0 -11
- package/cdn/chunks/chunk.2SBPTIVZ.js +0 -95
- package/cdn/chunks/chunk.2SZ44Q7D.js +0 -28
- package/cdn/chunks/chunk.3262A2RG.js +0 -11
- package/cdn/chunks/chunk.37SIMBWB.js +0 -455
- package/cdn/chunks/chunk.3H3FIH4V.js +0 -24
- package/cdn/chunks/chunk.3H7X4FT7.js +0 -26
- package/cdn/chunks/chunk.3MBUK4N5.js +0 -11
- package/cdn/chunks/chunk.3WEFI5D7.js +0 -11
- package/cdn/chunks/chunk.43MUAJCV.js +0 -267
- package/cdn/chunks/chunk.4AM6XMKQ.js +0 -11
- package/cdn/chunks/chunk.4CIDPXAY.js +0 -25
- package/cdn/chunks/chunk.4IRRRSCC.js +0 -24
- package/cdn/chunks/chunk.52LF3CZT.js +0 -11
- package/cdn/chunks/chunk.5CZ3RSWA.js +0 -11
- package/cdn/chunks/chunk.5FKQOEKB.js +0 -21
- package/cdn/chunks/chunk.5GIZDV7W.js +0 -21
- package/cdn/chunks/chunk.5NAM7XRN.js +0 -24
- package/cdn/chunks/chunk.5W77ZLUX.js +0 -233
- package/cdn/chunks/chunk.5YE55SVX.js +0 -11
- package/cdn/chunks/chunk.66DIT4A6.js +0 -11
- package/cdn/chunks/chunk.6BQKHBKT.js +0 -11
- package/cdn/chunks/chunk.6KU7ANFF.js +0 -24
- package/cdn/chunks/chunk.6LMG674A.js +0 -21
- package/cdn/chunks/chunk.6XXSWUEV.js +0 -50
- package/cdn/chunks/chunk.7FBTQVS6.js +0 -11
- package/cdn/chunks/chunk.7IYRG36H.js +0 -21
- package/cdn/chunks/chunk.7KJ3FFQC.js +0 -11
- package/cdn/chunks/chunk.7OZ22UC2.js +0 -11
- package/cdn/chunks/chunk.7VHYET4Z.js +0 -33
- package/cdn/chunks/chunk.7VZWUFNK.js +0 -11
- package/cdn/chunks/chunk.A2IV4J54.js +0 -24
- package/cdn/chunks/chunk.A5U2MRBT.js +0 -314
- package/cdn/chunks/chunk.AAK7KQLT.js +0 -21
- package/cdn/chunks/chunk.ACBP6OFO.js +0 -63
- package/cdn/chunks/chunk.AD6S3FNO.js +0 -11
- package/cdn/chunks/chunk.AHAJ7OZZ.js +0 -580
- package/cdn/chunks/chunk.ANKYWNXV.js +0 -27
- package/cdn/chunks/chunk.AYAHOY7H.js +0 -127
- package/cdn/chunks/chunk.BJNGUGY3.js +0 -21
- package/cdn/chunks/chunk.BRDR23J7.js +0 -255
- package/cdn/chunks/chunk.C4N4QJUT.js +0 -11
- package/cdn/chunks/chunk.C4QY7KGQ.js +0 -44
- package/cdn/chunks/chunk.CEYI3GND.js +0 -279
- package/cdn/chunks/chunk.CFQJHSSK.js +0 -821
- package/cdn/chunks/chunk.CIGGIY2H.js +0 -11
- package/cdn/chunks/chunk.CV7H2AAD.js +0 -87
- package/cdn/chunks/chunk.D3CH37HR.js +0 -11
- package/cdn/chunks/chunk.DHESEN7B.js +0 -186
- package/cdn/chunks/chunk.DLOQPGSH.js +0 -208
- package/cdn/chunks/chunk.DOWZF6IJ.js +0 -336
- package/cdn/chunks/chunk.DQAWKO65.js +0 -297
- package/cdn/chunks/chunk.E3ENMZZJ.js +0 -402
- package/cdn/chunks/chunk.E45UKEGD.js +0 -24
- package/cdn/chunks/chunk.ECW76WEO.js +0 -21
- package/cdn/chunks/chunk.EHHWE3LS.js +0 -21
- package/cdn/chunks/chunk.EHLCOUWY.js +0 -82
- package/cdn/chunks/chunk.EHPA5QTP.js +0 -25
- package/cdn/chunks/chunk.EI63SNKE.js +0 -299
- package/cdn/chunks/chunk.FBUJEC6X.js +0 -27
- package/cdn/chunks/chunk.FFZ2BP5P.js +0 -21
- package/cdn/chunks/chunk.FMCF6L7Y.js +0 -25
- package/cdn/chunks/chunk.FNYA6AEO.js +0 -25
- package/cdn/chunks/chunk.FZLL5W67.js +0 -11
- package/cdn/chunks/chunk.GHKLTH2F.js +0 -11
- package/cdn/chunks/chunk.GQ6D6Y7V.js +0 -21
- package/cdn/chunks/chunk.GZUHFML5.js +0 -24
- package/cdn/chunks/chunk.H3YHS4A2.js +0 -11
- package/cdn/chunks/chunk.H6VYJGLA.js +0 -114
- package/cdn/chunks/chunk.HG2RYHY6.js +0 -25
- package/cdn/chunks/chunk.HGHAGNDK.js +0 -49
- package/cdn/chunks/chunk.HLRX7KTA.js +0 -11
- package/cdn/chunks/chunk.HNCLB7RZ.js +0 -27
- package/cdn/chunks/chunk.HO5H3XLJ.js +0 -11
- package/cdn/chunks/chunk.HS4CJ7PO.js +0 -118
- package/cdn/chunks/chunk.HUI4TPYQ.js +0 -346
- package/cdn/chunks/chunk.HYISJTDZ.js +0 -120
- package/cdn/chunks/chunk.I6KI64WH.js +0 -21
- package/cdn/chunks/chunk.I7S4EEMN.js +0 -724
- package/cdn/chunks/chunk.IBRIHWFK.js +0 -24
- package/cdn/chunks/chunk.J34BGR2T.js +0 -367
- package/cdn/chunks/chunk.JCGJ5ILX.js +0 -28
- package/cdn/chunks/chunk.JIF4PGM7.js +0 -77
- package/cdn/chunks/chunk.JIPM32DT.js +0 -11
- package/cdn/chunks/chunk.JPNJJ5LC.js +0 -11
- package/cdn/chunks/chunk.JTRSQY5G.js +0 -291
- package/cdn/chunks/chunk.JZOKGM7V.js +0 -11
- package/cdn/chunks/chunk.KKNABC46.js +0 -21
- package/cdn/chunks/chunk.KOXJFB6O.js +0 -27
- package/cdn/chunks/chunk.KOZ6K4KB.js +0 -302
- package/cdn/chunks/chunk.KV5T4QLP.js +0 -378
- package/cdn/chunks/chunk.KYTQR7YW.js +0 -11
- package/cdn/chunks/chunk.L3HSJDIL.js +0 -122
- package/cdn/chunks/chunk.L4VU3CEF.js +0 -21
- package/cdn/chunks/chunk.L5ZEEGKA.js +0 -391
- package/cdn/chunks/chunk.L7ROUYT4.js +0 -21
- package/cdn/chunks/chunk.LBW5NBV6.js +0 -11
- package/cdn/chunks/chunk.LCWF66XK.js +0 -113
- package/cdn/chunks/chunk.LUGCUBOX.js +0 -11
- package/cdn/chunks/chunk.LZ577XOU.js +0 -11
- package/cdn/chunks/chunk.LZDH4W5S.js +0 -137
- package/cdn/chunks/chunk.MFGDBCHN.js +0 -25
- package/cdn/chunks/chunk.MKLVZ667.js +0 -27
- package/cdn/chunks/chunk.MKMC55HU.js +0 -21
- package/cdn/chunks/chunk.MKUT34KI.js +0 -11
- package/cdn/chunks/chunk.N4V2MUJF.js +0 -73
- package/cdn/chunks/chunk.NGBE7CGI.js +0 -11
- package/cdn/chunks/chunk.NXWBJTYQ.js +0 -28
- package/cdn/chunks/chunk.O3MV4WDU.js +0 -1925
- package/cdn/chunks/chunk.OESEEZOO.js +0 -11
- package/cdn/chunks/chunk.OHDELZVG.js +0 -11
- package/cdn/chunks/chunk.OITV5Q4M.js +0 -11
- package/cdn/chunks/chunk.OPGPYL6M.js +0 -93
- package/cdn/chunks/chunk.ORMYBK76.js +0 -67
- package/cdn/chunks/chunk.P4KFYA6W.js +0 -11
- package/cdn/chunks/chunk.P7OJIK3I.js +0 -142
- package/cdn/chunks/chunk.PLLWAFGU.js +0 -24
- package/cdn/chunks/chunk.PM37NS6R.js +0 -25
- package/cdn/chunks/chunk.PU2FRPCZ.js +0 -25
- package/cdn/chunks/chunk.Q3KIIXIF.js +0 -49
- package/cdn/chunks/chunk.Q7NNOIM7.js +0 -25
- package/cdn/chunks/chunk.QEKOQQNR.js +0 -24
- package/cdn/chunks/chunk.QVT32MJC.js +0 -11
- package/cdn/chunks/chunk.QWVE24DV.js +0 -11
- package/cdn/chunks/chunk.QXPOR5HV.js +0 -21
- package/cdn/chunks/chunk.RBUASREB.js +0 -1990
- package/cdn/chunks/chunk.RF5CSPCC.js +0 -292
- package/cdn/chunks/chunk.RGIC5PFY.js +0 -79
- package/cdn/chunks/chunk.RH6LIJFS.js +0 -26
- package/cdn/chunks/chunk.RTLK5JPO.js +0 -11
- package/cdn/chunks/chunk.RVQFGDP5.js +0 -11
- package/cdn/chunks/chunk.RW7KVOST.js +0 -21
- package/cdn/chunks/chunk.SHAQUV67.js +0 -26
- package/cdn/chunks/chunk.SMFERX2T.js +0 -11
- package/cdn/chunks/chunk.SMRIWF2S.js +0 -11
- package/cdn/chunks/chunk.SPGXP4KE.js +0 -24
- package/cdn/chunks/chunk.SWR3SNWR.js +0 -11
- package/cdn/chunks/chunk.TCSE25HK.js +0 -11
- package/cdn/chunks/chunk.TKE527J7.js +0 -28
- package/cdn/chunks/chunk.TKEECB7E.js +0 -11
- package/cdn/chunks/chunk.TLMJU2OB.js +0 -11
- package/cdn/chunks/chunk.TLTQO3CH.js +0 -11
- package/cdn/chunks/chunk.TM5VNFZE.js +0 -75
- package/cdn/chunks/chunk.TR7FQ3ZG.js +0 -21
- package/cdn/chunks/chunk.TTLE7BKW.js +0 -29
- package/cdn/chunks/chunk.TY6Z2QNH.js +0 -236
- package/cdn/chunks/chunk.U5GNII6R.js +0 -29
- package/cdn/chunks/chunk.UILESE4L.js +0 -11
- package/cdn/chunks/chunk.UU6PFMXT.js +0 -36
- package/cdn/chunks/chunk.UWP6RHHS.js +0 -11
- package/cdn/chunks/chunk.W2UXVIQE.js +0 -11
- package/cdn/chunks/chunk.WBLTQD6C.js +0 -197
- package/cdn/chunks/chunk.WF4B5CX5.js +0 -21
- package/cdn/chunks/chunk.WOEBD6LC.js +0 -29
- package/cdn/chunks/chunk.XAG7GB5I.js +0 -42
- package/cdn/chunks/chunk.XF36G36X.js +0 -135
- package/cdn/chunks/chunk.XGBZFDFN.js +0 -158
- package/cdn/chunks/chunk.XHIZYSOX.js +0 -11
- package/cdn/chunks/chunk.XIJ5MMLY.js +0 -11
- package/cdn/chunks/chunk.XNMKNLYR.js +0 -103
- package/cdn/chunks/chunk.XZ4JKK5S.js +0 -216
- package/cdn/chunks/chunk.XZBGILKA.js +0 -11
- package/cdn/chunks/chunk.Y6NDVPIT.js +0 -11
- package/cdn/chunks/chunk.YB6NPK7S.js +0 -42
- package/cdn/chunks/chunk.YFO4ZW45.js +0 -24
- package/cdn/chunks/chunk.YG3DTK7H.js +0 -21
- package/cdn/chunks/chunk.YG7T6UCH.js +0 -97
- package/cdn/chunks/chunk.YL2XWZJ6.js +0 -499
- package/cdn/chunks/chunk.YSELPFTP.js +0 -29
- package/cdn/chunks/chunk.YVCV474L.js +0 -21
- package/cdn/chunks/chunk.Z46D7BRX.js +0 -16
- package/cdn/chunks/chunk.Z4LMVVXH.js +0 -28
- package/cdn/chunks/chunk.ZQQ2VRTL.js +0 -11
- package/cdn/chunks/chunk.ZVCP457Q.js +0 -11
- package/dist/chunks/chunk.25DBUKBD.js +0 -27
- package/dist/chunks/chunk.2GLSHNYS.js +0 -25
- package/dist/chunks/chunk.2GRSESM4.js +0 -11
- package/dist/chunks/chunk.2J2H5W2L.js +0 -11
- package/dist/chunks/chunk.2W6AVKJ3.js +0 -11
- package/dist/chunks/chunk.2WWRIQU5.js +0 -21
- package/dist/chunks/chunk.36MZCQXU.js +0 -45
- package/dist/chunks/chunk.3E3JPGHN.js +0 -134
- package/dist/chunks/chunk.3EMXJHKK.js +0 -11
- package/dist/chunks/chunk.3IWXNFPK.js +0 -100
- package/dist/chunks/chunk.44L7SRPK.js +0 -119
- package/dist/chunks/chunk.4DFHYFII.js +0 -24
- package/dist/chunks/chunk.4NDG46JO.js +0 -21
- package/dist/chunks/chunk.4OCGYOOT.js +0 -11
- package/dist/chunks/chunk.4TIVNLRE.js +0 -11
- package/dist/chunks/chunk.564UI6PW.js +0 -21
- package/dist/chunks/chunk.5662BZAR.js +0 -259
- package/dist/chunks/chunk.56JVAFOW.js +0 -11
- package/dist/chunks/chunk.5A2AVMPJ.js +0 -491
- package/dist/chunks/chunk.62B6AN4G.js +0 -417
- package/dist/chunks/chunk.62C747SM.js +0 -11
- package/dist/chunks/chunk.66AMABIA.js +0 -94
- package/dist/chunks/chunk.6GLJMNLF.js +0 -21
- package/dist/chunks/chunk.6REPXOV2.js +0 -126
- package/dist/chunks/chunk.6YXYHHVS.js +0 -28
- package/dist/chunks/chunk.7I3N4VKN.js +0 -337
- package/dist/chunks/chunk.7RHIZ2X6.js +0 -274
- package/dist/chunks/chunk.7S6VSYA5.js +0 -21
- package/dist/chunks/chunk.A7BVYOGM.js +0 -11
- package/dist/chunks/chunk.AECOOL73.js +0 -25
- package/dist/chunks/chunk.AFVDL4XO.js +0 -21
- package/dist/chunks/chunk.AGFIG65W.js +0 -11
- package/dist/chunks/chunk.ANHE2WFW.js +0 -25
- package/dist/chunks/chunk.AOVLR7JD.js +0 -75
- package/dist/chunks/chunk.BDHMZWKP.js +0 -45
- package/dist/chunks/chunk.BHPSDIUZ.js +0 -28
- package/dist/chunks/chunk.BZUG556F.js +0 -11
- package/dist/chunks/chunk.C2DCJFUM.js +0 -26
- package/dist/chunks/chunk.C4QY7KGQ.js +0 -44
- package/dist/chunks/chunk.CPNPX6S7.js +0 -147
- package/dist/chunks/chunk.CXZNHRVR.js +0 -448
- package/dist/chunks/chunk.D24TMZV4.js +0 -11
- package/dist/chunks/chunk.D2G52ZGP.js +0 -24
- package/dist/chunks/chunk.D3BAPYS4.js +0 -63
- package/dist/chunks/chunk.D5J66JPV.js +0 -11
- package/dist/chunks/chunk.DD4CHTVK.js +0 -24
- package/dist/chunks/chunk.DHR6SD6T.js +0 -25
- package/dist/chunks/chunk.DQIRIOBB.js +0 -11
- package/dist/chunks/chunk.DQWXJ5OO.js +0 -151
- package/dist/chunks/chunk.DRTTJSJH.js +0 -11
- package/dist/chunks/chunk.DRX7ZWPK.js +0 -34
- package/dist/chunks/chunk.DYPNSJFE.js +0 -75
- package/dist/chunks/chunk.E2O25FNN.js +0 -11
- package/dist/chunks/chunk.E5JRHEXH.js +0 -293
- package/dist/chunks/chunk.E6O5QIVP.js +0 -11
- package/dist/chunks/chunk.EASVNPP3.js +0 -109
- package/dist/chunks/chunk.EDJXBUG2.js +0 -25
- package/dist/chunks/chunk.EIBS2Z7P.js +0 -29
- package/dist/chunks/chunk.EJYF7PE7.js +0 -813
- package/dist/chunks/chunk.EMZ442PQ.js +0 -949
- package/dist/chunks/chunk.ETZMOOLO.js +0 -21
- package/dist/chunks/chunk.EUZUWL7P.js +0 -24
- package/dist/chunks/chunk.EVII3AXJ.js +0 -11
- package/dist/chunks/chunk.EY5ALKH5.js +0 -11
- package/dist/chunks/chunk.F2URQJQT.js +0 -227
- package/dist/chunks/chunk.F7DY7EII.js +0 -24
- package/dist/chunks/chunk.FJTQ32X4.js +0 -22
- package/dist/chunks/chunk.FLMZEQSZ.js +0 -21
- package/dist/chunks/chunk.FMTXOEH4.js +0 -11
- package/dist/chunks/chunk.FXJFE27W.js +0 -24
- package/dist/chunks/chunk.FXKV67MH.js +0 -11
- package/dist/chunks/chunk.FXUPPYRG.js +0 -135
- package/dist/chunks/chunk.G4U57SOA.js +0 -11
- package/dist/chunks/chunk.G6M65V6R.js +0 -24
- package/dist/chunks/chunk.GJH2YKWQ.js +0 -100
- package/dist/chunks/chunk.GMATCVRU.js +0 -247
- package/dist/chunks/chunk.GVUMLOIR.js +0 -290
- package/dist/chunks/chunk.H6PSWXCY.js +0 -21
- package/dist/chunks/chunk.H7XO3O2G.js +0 -11
- package/dist/chunks/chunk.HDE5RX2K.js +0 -11
- package/dist/chunks/chunk.HHU3WBEO.js +0 -21
- package/dist/chunks/chunk.HOHI2BQZ.js +0 -11
- package/dist/chunks/chunk.HRODKK2V.js +0 -21
- package/dist/chunks/chunk.HRTLU4OR.js +0 -11
- package/dist/chunks/chunk.HXFFB7NF.js +0 -42
- package/dist/chunks/chunk.HY3GW4MF.js +0 -50
- package/dist/chunks/chunk.IDPNXIPQ.js +0 -15
- package/dist/chunks/chunk.IKUYKBO4.js +0 -25
- package/dist/chunks/chunk.IM2UWHYW.js +0 -11
- package/dist/chunks/chunk.IQKCYCJD.js +0 -397
- package/dist/chunks/chunk.JECDUKTT.js +0 -11
- package/dist/chunks/chunk.JFSBJ5M5.js +0 -294
- package/dist/chunks/chunk.JQPDPO4H.js +0 -27
- package/dist/chunks/chunk.JQXGML5I.js +0 -192
- package/dist/chunks/chunk.K6SO2YK2.js +0 -28
- package/dist/chunks/chunk.KDZTBW7D.js +0 -25
- package/dist/chunks/chunk.KKFZJXVH.js +0 -11
- package/dist/chunks/chunk.KROEUMQN.js +0 -311
- package/dist/chunks/chunk.KRWWGSDD.js +0 -25
- package/dist/chunks/chunk.KSZAQSOO.js +0 -11
- package/dist/chunks/chunk.L7HUUF24.js +0 -11
- package/dist/chunks/chunk.LNTLR2EB.js +0 -113
- package/dist/chunks/chunk.LP3LYQNE.js +0 -181
- package/dist/chunks/chunk.LQJYBS5E.js +0 -80
- package/dist/chunks/chunk.LRZVQO2O.js +0 -29
- package/dist/chunks/chunk.LTJ3ANS7.js +0 -11
- package/dist/chunks/chunk.LYXWBS3Q.js +0 -27
- package/dist/chunks/chunk.M2AG3GLJ.js +0 -11
- package/dist/chunks/chunk.MMPT3YUH.js +0 -384
- package/dist/chunks/chunk.MNDJRNQX.js +0 -11
- package/dist/chunks/chunk.N7FPHAE2.js +0 -116
- package/dist/chunks/chunk.NBD2IHTY.js +0 -11
- package/dist/chunks/chunk.NGS2GE2N.js +0 -21
- package/dist/chunks/chunk.NN3ZWPJX.js +0 -11
- package/dist/chunks/chunk.NRRR52DX.js +0 -370
- package/dist/chunks/chunk.O5OIXIRM.js +0 -24
- package/dist/chunks/chunk.O5ZG7J4B.js +0 -550
- package/dist/chunks/chunk.ONTO4X2V.js +0 -11
- package/dist/chunks/chunk.OP2IZEZE.js +0 -11
- package/dist/chunks/chunk.OP34ILHF.js +0 -11
- package/dist/chunks/chunk.PHBLDWGW.js +0 -117
- package/dist/chunks/chunk.PJH66TLC.js +0 -21
- package/dist/chunks/chunk.PKOA4DIJ.js +0 -315
- package/dist/chunks/chunk.PTURT3LB.js +0 -24
- package/dist/chunks/chunk.PUABCOFU.js +0 -28
- package/dist/chunks/chunk.PXU77CI5.js +0 -11
- package/dist/chunks/chunk.QDCIHSOI.js +0 -21
- package/dist/chunks/chunk.QDWLFJVV.js +0 -111
- package/dist/chunks/chunk.QFOOSPUP.js +0 -11
- package/dist/chunks/chunk.QOZNNXXE.js +0 -26
- package/dist/chunks/chunk.QRHPRDG2.js +0 -11
- package/dist/chunks/chunk.QTX5MLC4.js +0 -280
- package/dist/chunks/chunk.QW2MM7A4.js +0 -361
- package/dist/chunks/chunk.R33Z4OMO.js +0 -25
- package/dist/chunks/chunk.RCGIQXPE.js +0 -21
- package/dist/chunks/chunk.RKT7G4BL.js +0 -67
- package/dist/chunks/chunk.RLEISJRJ.js +0 -11
- package/dist/chunks/chunk.S2Y3A3AM.js +0 -93
- package/dist/chunks/chunk.SUSYSSMZ.js +0 -22
- package/dist/chunks/chunk.SXVQRCVR.js +0 -39
- package/dist/chunks/chunk.SY2IIVVQ.js +0 -11
- package/dist/chunks/chunk.T25J2IHG.js +0 -25
- package/dist/chunks/chunk.T3V7LRHS.js +0 -29
- package/dist/chunks/chunk.TB57WXUT.js +0 -73
- package/dist/chunks/chunk.TDTPJGI7.js +0 -28
- package/dist/chunks/chunk.TEXG3V5D.js +0 -42
- package/dist/chunks/chunk.TM2K2VOC.js +0 -11
- package/dist/chunks/chunk.TZG3G36D.js +0 -11
- package/dist/chunks/chunk.U6GD7RA5.js +0 -21
- package/dist/chunks/chunk.UAZCJ6QG.js +0 -11
- package/dist/chunks/chunk.UDAYXY7O.js +0 -11
- package/dist/chunks/chunk.UF5F44EE.js +0 -11
- package/dist/chunks/chunk.UFRGXMNI.js +0 -21
- package/dist/chunks/chunk.UL7SBSXX.js +0 -286
- package/dist/chunks/chunk.UW3YGYZF.js +0 -21
- package/dist/chunks/chunk.UWQP3K4H.js +0 -24
- package/dist/chunks/chunk.VBYVEMQD.js +0 -11
- package/dist/chunks/chunk.VMYDYO3D.js +0 -11
- package/dist/chunks/chunk.VXDJVRIH.js +0 -11
- package/dist/chunks/chunk.W4Z25FAS.js +0 -59
- package/dist/chunks/chunk.WBFHQSPC.js +0 -11
- package/dist/chunks/chunk.WLPBOIVK.js +0 -11
- package/dist/chunks/chunk.WTGB44YK.js +0 -91
- package/dist/chunks/chunk.WWZY5XKI.js +0 -11
- package/dist/chunks/chunk.XC25AJEF.js +0 -90
- package/dist/chunks/chunk.XCF7CFRR.js +0 -231
- package/dist/chunks/chunk.XKAOTPRC.js +0 -11
- package/dist/chunks/chunk.XPSAM3J7.js +0 -29
- package/dist/chunks/chunk.XUZBVMW7.js +0 -11
- package/dist/chunks/chunk.Y4JGOR4A.js +0 -26
- package/dist/chunks/chunk.Y5ZYCHKK.js +0 -33
- package/dist/chunks/chunk.YRXC5ETZ.js +0 -85
- package/dist/chunks/chunk.YUDVWN6S.js +0 -21
- package/dist/chunks/chunk.YVLMZLTH.js +0 -27
- package/dist/chunks/chunk.YWLTG6BC.js +0 -21
- package/dist/chunks/chunk.Z2I7ITAV.js +0 -24
- package/dist/chunks/chunk.Z2IXAT5N.js +0 -11
- package/dist/chunks/chunk.Z5POFS5S.js +0 -213
- package/dist/chunks/chunk.ZHZ3PLWC.js +0 -21
package/cdn/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@cordwainer/cw-elements",
|
|
4
|
-
"version": "1.0.3",
|
|
4
|
+
"version": "1.1.0-alpha.3",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -1465,1357 +1465,2032 @@
|
|
|
1465
1465
|
}
|
|
1466
1466
|
},
|
|
1467
1467
|
{
|
|
1468
|
-
"name": "cw-
|
|
1469
|
-
"description": "
|
|
1468
|
+
"name": "cw-combobox",
|
|
1469
|
+
"description": "Comboboxes combine a text input with a listbox, allowing users to filter a list of options by typing.\n---\n\n\n### **Events:**\n - **cw-change** - Emitted when the control's value changes.\n- **cw-clear** - Emitted when the control's value is cleared.\n- **cw-input** - Emitted when the control receives input, including as the user types to filter options.\n- **cw-focus** - Emitted when the control gains focus.\n- **cw-blur** - Emitted when the control loses focus.\n- **cw-show** - Emitted when the combobox's listbox opens.\n- **cw-after-show** - Emitted after the combobox's listbox opens and all animations are complete.\n- **cw-hide** - Emitted when the combobox's listbox closes.\n- **cw-after-hide** - Emitted after the combobox's listbox closes and all animations are complete.\n- **cw-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<cw-option>` elements. You can use `<cw-divider>` to group items visually.\n- **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the combobox.\n- **suffix** - Used to append a presentational icon or similar element to the combobox.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n- **no-options** - Content to show in the listbox when no options match the current filter.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The combobox's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container that wraps the prefix, suffix, input, tags, clear icon, and expand button.\n- **prefix** - The container that wraps the prefix slot.\n- **suffix** - The container that wraps the suffix slot.\n- **display-input** - The component's `<input>` element.\n- **listbox** - The listbox container where options are slotted.\n- **no-options** - The container shown when no options match the current filter.\n- **loading** - The container shown while `loading` is set.\n- **tags** - The container that houses option tags when `multiple` is used.\n- **tag** - The individual tags that represent each selected option.\n- **tag__base** - The tag's base part.\n- **tag__content** - The tag's content part.\n- **tag__remove-button** - The tag's remove button.\n- **tag__remove-button__base** - The tag's remove button base part.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
|
|
1470
1470
|
"doc-url": "",
|
|
1471
1471
|
"attributes": [
|
|
1472
1472
|
{
|
|
1473
|
-
"name": "
|
|
1474
|
-
"description": "The
|
|
1473
|
+
"name": "name",
|
|
1474
|
+
"description": "The name of the combobox, submitted as a name/value pair with form data.",
|
|
1475
1475
|
"value": { "type": "string", "default": "''" }
|
|
1476
1476
|
},
|
|
1477
1477
|
{
|
|
1478
|
-
"name": "
|
|
1479
|
-
"description": "
|
|
1478
|
+
"name": "value",
|
|
1479
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
1480
|
+
"value": { "type": "string | string[]", "default": "''" }
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
"name": "size",
|
|
1484
|
+
"description": "The combobox's size.",
|
|
1485
|
+
"value": {
|
|
1486
|
+
"type": "'small' | 'medium' | 'large'",
|
|
1487
|
+
"default": "'medium'"
|
|
1488
|
+
}
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
"name": "placeholder",
|
|
1492
|
+
"description": "Placeholder text to show as a hint when the combobox is empty.",
|
|
1480
1493
|
"value": { "type": "string", "default": "''" }
|
|
1481
1494
|
},
|
|
1495
|
+
{
|
|
1496
|
+
"name": "multiple",
|
|
1497
|
+
"description": "Allows more than one option to be selected.",
|
|
1498
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"name": "max-options-visible",
|
|
1502
|
+
"description": "The maximum number of selected options to show when `multiple` is true. After the maximum, \"+n\" will be shown to\nindicate the number of additional items that are selected. Set to 0 to remove the limit.",
|
|
1503
|
+
"value": { "type": "number", "default": "3" }
|
|
1504
|
+
},
|
|
1482
1505
|
{
|
|
1483
1506
|
"name": "disabled",
|
|
1484
|
-
"description": "Disables the
|
|
1507
|
+
"description": "Disables the combobox control.",
|
|
1485
1508
|
"value": { "type": "boolean", "default": "false" }
|
|
1486
1509
|
},
|
|
1487
1510
|
{
|
|
1488
|
-
"name": "
|
|
1489
|
-
"description": "
|
|
1511
|
+
"name": "clearable",
|
|
1512
|
+
"description": "Adds a clear button when the combobox is not empty.",
|
|
1513
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"name": "allow-custom-value",
|
|
1517
|
+
"description": "When set, values typed by the user that don't match any `<cw-option>` are accepted as the control's value. Only\napplies when `multiple` is not set.",
|
|
1518
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"name": "loading",
|
|
1522
|
+
"description": "Shows a loading indicator and \"no options\" message in the listbox. Useful while options are being fetched\nasynchronously in response to the `cw-input` event.",
|
|
1523
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1524
|
+
},
|
|
1525
|
+
{
|
|
1526
|
+
"name": "open",
|
|
1527
|
+
"description": "Indicates whether or not the listbox is open. You can toggle this attribute to show and hide the listbox, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the combobox's open state.",
|
|
1528
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
"name": "hoist",
|
|
1532
|
+
"description": "Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
|
|
1533
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"name": "filled",
|
|
1537
|
+
"description": "Draws a filled combobox.",
|
|
1538
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
"name": "pill",
|
|
1542
|
+
"description": "Draws a pill-style combobox with rounded edges.",
|
|
1543
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
"name": "label",
|
|
1547
|
+
"description": "The combobox's label. If you need to display HTML, use the `label` slot instead.",
|
|
1490
1548
|
"value": { "type": "string", "default": "''" }
|
|
1491
1549
|
},
|
|
1492
1550
|
{
|
|
1493
|
-
"name": "
|
|
1494
|
-
"description": "
|
|
1551
|
+
"name": "placement",
|
|
1552
|
+
"description": "The preferred placement of the combobox's listbox. Note that the actual placement may vary as needed to keep the\nlistbox inside of the viewport.",
|
|
1553
|
+
"value": { "type": "'top' | 'bottom'", "default": "'bottom'" }
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
"name": "help-text",
|
|
1557
|
+
"description": "The combobox's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
1495
1558
|
"value": { "type": "string", "default": "''" }
|
|
1496
1559
|
},
|
|
1497
1560
|
{
|
|
1498
|
-
"name": "
|
|
1499
|
-
"description": "
|
|
1561
|
+
"name": "form",
|
|
1562
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
1500
1563
|
"value": { "type": "string", "default": "''" }
|
|
1501
1564
|
},
|
|
1502
1565
|
{
|
|
1503
|
-
"name": "
|
|
1504
|
-
"description": "The
|
|
1505
|
-
"value": { "type": "
|
|
1566
|
+
"name": "required",
|
|
1567
|
+
"description": "The combobox's required attribute.",
|
|
1568
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1506
1569
|
},
|
|
1507
1570
|
{
|
|
1508
|
-
"name": "
|
|
1509
|
-
"description": "The
|
|
1571
|
+
"name": "getTag",
|
|
1572
|
+
"description": "A function that customizes the tags to be rendered when multiple=true. The first argument is the option, the second\nis the current tag's index. The function should return either a Lit TemplateResult or a string containing trusted\nHTML of the symbol to render at the specified value.",
|
|
1510
1573
|
"value": {
|
|
1511
|
-
"type": "
|
|
1512
|
-
"default": "'top'"
|
|
1574
|
+
"type": "(option: CwOption, index: number) => TemplateResult | string | HTMLElement"
|
|
1513
1575
|
}
|
|
1514
|
-
},
|
|
1515
|
-
{
|
|
1516
|
-
"name": "hoist",
|
|
1517
|
-
"description": "Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\nscenarios.",
|
|
1518
|
-
"value": { "type": "boolean", "default": "false" }
|
|
1519
1576
|
}
|
|
1520
1577
|
],
|
|
1521
1578
|
"slots": [
|
|
1522
1579
|
{
|
|
1523
|
-
"name": "
|
|
1524
|
-
"description": "The
|
|
1580
|
+
"name": "",
|
|
1581
|
+
"description": "The listbox options. Must be `<cw-option>` elements. You can use `<cw-divider>` to group items visually."
|
|
1525
1582
|
},
|
|
1526
1583
|
{
|
|
1527
|
-
"name": "
|
|
1528
|
-
"description": "The
|
|
1584
|
+
"name": "label",
|
|
1585
|
+
"description": "The input's label. Alternatively, you can use the `label` attribute."
|
|
1529
1586
|
},
|
|
1530
1587
|
{
|
|
1531
|
-
"name": "
|
|
1532
|
-
"description": "
|
|
1588
|
+
"name": "prefix",
|
|
1589
|
+
"description": "Used to prepend a presentational icon or similar element to the combobox."
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
"name": "suffix",
|
|
1593
|
+
"description": "Used to append a presentational icon or similar element to the combobox."
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"name": "clear-icon",
|
|
1597
|
+
"description": "An icon to use in lieu of the default clear icon."
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
"name": "expand-icon",
|
|
1601
|
+
"description": "The icon to show when the control is expanded and collapsed. Rotates on open and close."
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"name": "no-options",
|
|
1605
|
+
"description": "Content to show in the listbox when no options match the current filter."
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"name": "help-text",
|
|
1609
|
+
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute."
|
|
1533
1610
|
}
|
|
1534
1611
|
],
|
|
1535
1612
|
"events": [
|
|
1536
1613
|
{
|
|
1537
|
-
"name": "cw-
|
|
1538
|
-
"description": "Emitted when the
|
|
1614
|
+
"name": "cw-change",
|
|
1615
|
+
"description": "Emitted when the control's value changes."
|
|
1539
1616
|
},
|
|
1540
1617
|
{
|
|
1541
|
-
"name": "cw-
|
|
1542
|
-
"description": "Emitted when the
|
|
1618
|
+
"name": "cw-clear",
|
|
1619
|
+
"description": "Emitted when the control's value is cleared."
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
"name": "cw-input",
|
|
1623
|
+
"description": "Emitted when the control receives input, including as the user types to filter options."
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
"name": "cw-focus",
|
|
1627
|
+
"description": "Emitted when the control gains focus."
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
"name": "cw-blur",
|
|
1631
|
+
"description": "Emitted when the control loses focus."
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
"name": "cw-show",
|
|
1635
|
+
"description": "Emitted when the combobox's listbox opens."
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
"name": "cw-after-show",
|
|
1639
|
+
"description": "Emitted after the combobox's listbox opens and all animations are complete."
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
"name": "cw-hide",
|
|
1643
|
+
"description": "Emitted when the combobox's listbox closes."
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"name": "cw-after-hide",
|
|
1647
|
+
"description": "Emitted after the combobox's listbox closes and all animations are complete."
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
"name": "cw-invalid",
|
|
1651
|
+
"description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied."
|
|
1543
1652
|
}
|
|
1544
1653
|
],
|
|
1545
1654
|
"js": {
|
|
1546
1655
|
"properties": [
|
|
1547
|
-
{ "name": "
|
|
1548
|
-
{ "name": "
|
|
1549
|
-
{ "name": "
|
|
1550
|
-
{ "name": "
|
|
1551
|
-
{ "name": "
|
|
1552
|
-
{ "name": "
|
|
1656
|
+
{ "name": "popup", "type": "CwPopup" },
|
|
1657
|
+
{ "name": "combobox", "type": "HTMLSlotElement" },
|
|
1658
|
+
{ "name": "displayInput", "type": "HTMLInputElement" },
|
|
1659
|
+
{ "name": "valueInput", "type": "HTMLInputElement" },
|
|
1660
|
+
{ "name": "listbox", "type": "HTMLSlotElement" },
|
|
1661
|
+
{ "name": "displayLabel", "type": "string" },
|
|
1662
|
+
{ "name": "currentOption", "type": "CwOption | undefined" },
|
|
1663
|
+
{ "name": "selectedOptions", "type": "CwOption[]" },
|
|
1553
1664
|
{
|
|
1554
|
-
"name": "
|
|
1555
|
-
"description": "The
|
|
1665
|
+
"name": "name",
|
|
1666
|
+
"description": "The name of the combobox, submitted as a name/value pair with form data.",
|
|
1556
1667
|
"type": "string"
|
|
1557
1668
|
},
|
|
1558
1669
|
{
|
|
1559
|
-
"name": "
|
|
1560
|
-
"description": "
|
|
1670
|
+
"name": "value",
|
|
1671
|
+
"description": "The current value of the combobox, submitted as a name/value pair with form data. When `multiple` is enabled, the\nvalue attribute will be a space-delimited list of values based on the options selected, and the value property will\nbe an array. **For this reason, values must not contain spaces.**"
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
"name": "defaultValue",
|
|
1675
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
1676
|
+
"type": "string | string[]"
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
"name": "size",
|
|
1680
|
+
"description": "The combobox's size.",
|
|
1681
|
+
"type": "'small' | 'medium' | 'large'"
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
"name": "placeholder",
|
|
1685
|
+
"description": "Placeholder text to show as a hint when the combobox is empty.",
|
|
1561
1686
|
"type": "string"
|
|
1562
1687
|
},
|
|
1688
|
+
{
|
|
1689
|
+
"name": "multiple",
|
|
1690
|
+
"description": "Allows more than one option to be selected.",
|
|
1691
|
+
"type": "boolean"
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
"name": "maxOptionsVisible",
|
|
1695
|
+
"description": "The maximum number of selected options to show when `multiple` is true. After the maximum, \"+n\" will be shown to\nindicate the number of additional items that are selected. Set to 0 to remove the limit.",
|
|
1696
|
+
"type": "number"
|
|
1697
|
+
},
|
|
1563
1698
|
{
|
|
1564
1699
|
"name": "disabled",
|
|
1565
|
-
"description": "Disables the
|
|
1700
|
+
"description": "Disables the combobox control.",
|
|
1566
1701
|
"type": "boolean"
|
|
1567
1702
|
},
|
|
1568
1703
|
{
|
|
1569
|
-
"name": "
|
|
1570
|
-
"description": "
|
|
1571
|
-
"type": "
|
|
1704
|
+
"name": "clearable",
|
|
1705
|
+
"description": "Adds a clear button when the combobox is not empty.",
|
|
1706
|
+
"type": "boolean"
|
|
1572
1707
|
},
|
|
1573
1708
|
{
|
|
1574
|
-
"name": "
|
|
1575
|
-
"description": "
|
|
1576
|
-
"type": "
|
|
1709
|
+
"name": "allowCustomValue",
|
|
1710
|
+
"description": "When set, values typed by the user that don't match any `<cw-option>` are accepted as the control's value. Only\napplies when `multiple` is not set.",
|
|
1711
|
+
"type": "boolean"
|
|
1577
1712
|
},
|
|
1578
1713
|
{
|
|
1579
|
-
"name": "
|
|
1580
|
-
"description": "
|
|
1714
|
+
"name": "loading",
|
|
1715
|
+
"description": "Shows a loading indicator and \"no options\" message in the listbox. Useful while options are being fetched\nasynchronously in response to the `cw-input` event.",
|
|
1716
|
+
"type": "boolean"
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
"name": "open",
|
|
1720
|
+
"description": "Indicates whether or not the listbox is open. You can toggle this attribute to show and hide the listbox, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the combobox's open state.",
|
|
1721
|
+
"type": "boolean"
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
"name": "hoist",
|
|
1725
|
+
"description": "Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
|
|
1726
|
+
"type": "boolean"
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
"name": "filled",
|
|
1730
|
+
"description": "Draws a filled combobox.",
|
|
1731
|
+
"type": "boolean"
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
"name": "pill",
|
|
1735
|
+
"description": "Draws a pill-style combobox with rounded edges.",
|
|
1736
|
+
"type": "boolean"
|
|
1737
|
+
},
|
|
1738
|
+
{
|
|
1739
|
+
"name": "label",
|
|
1740
|
+
"description": "The combobox's label. If you need to display HTML, use the `label` slot instead.",
|
|
1581
1741
|
"type": "string"
|
|
1582
1742
|
},
|
|
1583
1743
|
{
|
|
1584
|
-
"name": "
|
|
1585
|
-
"description": "The
|
|
1586
|
-
"type": "
|
|
1744
|
+
"name": "placement",
|
|
1745
|
+
"description": "The preferred placement of the combobox's listbox. Note that the actual placement may vary as needed to keep the\nlistbox inside of the viewport.",
|
|
1746
|
+
"type": "'top' | 'bottom'"
|
|
1587
1747
|
},
|
|
1588
1748
|
{
|
|
1589
|
-
"name": "
|
|
1590
|
-
"description": "The
|
|
1591
|
-
"type": "
|
|
1749
|
+
"name": "helpText",
|
|
1750
|
+
"description": "The combobox's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
1751
|
+
"type": "string"
|
|
1592
1752
|
},
|
|
1593
1753
|
{
|
|
1594
|
-
"name": "
|
|
1595
|
-
"description": "
|
|
1754
|
+
"name": "form",
|
|
1755
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
1756
|
+
"type": "string"
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"name": "required",
|
|
1760
|
+
"description": "The combobox's required attribute.",
|
|
1596
1761
|
"type": "boolean"
|
|
1597
|
-
}
|
|
1598
|
-
],
|
|
1599
|
-
"events": [
|
|
1762
|
+
},
|
|
1600
1763
|
{
|
|
1601
|
-
"name": "
|
|
1602
|
-
"description": "
|
|
1764
|
+
"name": "getTag",
|
|
1765
|
+
"description": "A function that customizes the tags to be rendered when multiple=true. The first argument is the option, the second\nis the current tag's index. The function should return either a Lit TemplateResult or a string containing trusted\nHTML of the symbol to render at the specified value.",
|
|
1766
|
+
"type": "(option: CwOption, index: number) => TemplateResult | string | HTMLElement"
|
|
1603
1767
|
},
|
|
1604
1768
|
{
|
|
1605
|
-
"name": "
|
|
1606
|
-
"description": "
|
|
1769
|
+
"name": "validity",
|
|
1770
|
+
"description": "Gets the validity state object"
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
"name": "validationMessage",
|
|
1774
|
+
"description": "Gets the validation message"
|
|
1775
|
+
}
|
|
1776
|
+
],
|
|
1777
|
+
"events": [
|
|
1778
|
+
{
|
|
1779
|
+
"name": "cw-change",
|
|
1780
|
+
"description": "Emitted when the control's value changes."
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
"name": "cw-clear",
|
|
1784
|
+
"description": "Emitted when the control's value is cleared."
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
"name": "cw-input",
|
|
1788
|
+
"description": "Emitted when the control receives input, including as the user types to filter options."
|
|
1789
|
+
},
|
|
1790
|
+
{
|
|
1791
|
+
"name": "cw-focus",
|
|
1792
|
+
"description": "Emitted when the control gains focus."
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
"name": "cw-blur",
|
|
1796
|
+
"description": "Emitted when the control loses focus."
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
"name": "cw-show",
|
|
1800
|
+
"description": "Emitted when the combobox's listbox opens."
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
"name": "cw-after-show",
|
|
1804
|
+
"description": "Emitted after the combobox's listbox opens and all animations are complete."
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
"name": "cw-hide",
|
|
1808
|
+
"description": "Emitted when the combobox's listbox closes."
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
"name": "cw-after-hide",
|
|
1812
|
+
"description": "Emitted after the combobox's listbox closes and all animations are complete."
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"name": "cw-invalid",
|
|
1816
|
+
"description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied."
|
|
1607
1817
|
}
|
|
1608
1818
|
]
|
|
1609
1819
|
}
|
|
1610
1820
|
},
|
|
1611
1821
|
{
|
|
1612
|
-
"name": "cw-
|
|
1613
|
-
"description": "
|
|
1822
|
+
"name": "cw-copy-button",
|
|
1823
|
+
"description": "Copies text data to the clipboard when the user clicks the trigger.\n---\n\n\n### **Events:**\n - **cw-copy** - Emitted when the data has been copied.\n- **cw-error** - Emitted when the data could not be copied.\n\n### **Slots:**\n - **copy-icon** - The icon to show in the default copy state. Works best with `<cw-icon>`.\n- **success-icon** - The icon to show when the content is copied. Works best with `<cw-icon>`.\n- **error-icon** - The icon to show when a copy error occurs. Works best with `<cw-icon>`.\n\n### **CSS Properties:**\n - **--success-color** - The color to use for success feedback. _(default: undefined)_\n- **--error-color** - The color to use for error feedback. _(default: undefined)_\n\n### **CSS Parts:**\n - **button** - The internal `<button>` element.\n- **copy-icon** - The container that holds the copy icon.\n- **success-icon** - The container that holds the success icon.\n- **error-icon** - The container that holds the error icon.\n- **tooltip__base** - The tooltip's exported `base` part.\n- **tooltip__base__popup** - The tooltip's exported `popup` part.\n- **tooltip__base__arrow** - The tooltip's exported `arrow` part.\n- **tooltip__body** - The tooltip's exported `body` part.",
|
|
1614
1824
|
"doc-url": "",
|
|
1615
1825
|
"attributes": [
|
|
1616
1826
|
{
|
|
1617
|
-
"name": "
|
|
1618
|
-
"description": "
|
|
1619
|
-
"value": { "type": "
|
|
1827
|
+
"name": "value",
|
|
1828
|
+
"description": "The text value to copy.",
|
|
1829
|
+
"value": { "type": "string", "default": "''" }
|
|
1620
1830
|
},
|
|
1621
1831
|
{
|
|
1622
|
-
"name": "
|
|
1623
|
-
"description": "
|
|
1624
|
-
"value": { "type": "string" }
|
|
1832
|
+
"name": "from",
|
|
1833
|
+
"description": "An id that references an element in the same document from which data will be copied. If both this and `value` are\npresent, this value will take precedence. By default, the target element's `textContent` will be copied. To copy an\nattribute, append the attribute name wrapped in square brackets, e.g. `from=\"el[value]\"`. To copy a property,\nappend a dot and the property name, e.g. `from=\"el.value\"`.",
|
|
1834
|
+
"value": { "type": "string", "default": "''" }
|
|
1625
1835
|
},
|
|
1626
1836
|
{
|
|
1627
1837
|
"name": "disabled",
|
|
1628
|
-
"description": "Disables the
|
|
1838
|
+
"description": "Disables the copy button.",
|
|
1629
1839
|
"value": { "type": "boolean", "default": "false" }
|
|
1630
|
-
}
|
|
1631
|
-
],
|
|
1632
|
-
"slots": [
|
|
1633
|
-
{ "name": "", "description": "The details' main content." },
|
|
1840
|
+
},
|
|
1634
1841
|
{
|
|
1635
|
-
"name": "
|
|
1636
|
-
"description": "
|
|
1842
|
+
"name": "copy-label",
|
|
1843
|
+
"description": "A custom label to show in the tooltip.",
|
|
1844
|
+
"value": { "type": "string", "default": "''" }
|
|
1637
1845
|
},
|
|
1638
1846
|
{
|
|
1639
|
-
"name": "
|
|
1640
|
-
"description": "
|
|
1847
|
+
"name": "success-label",
|
|
1848
|
+
"description": "A custom label to show in the tooltip after copying.",
|
|
1849
|
+
"value": { "type": "string", "default": "''" }
|
|
1641
1850
|
},
|
|
1642
1851
|
{
|
|
1643
|
-
"name": "
|
|
1644
|
-
"description": "
|
|
1852
|
+
"name": "error-label",
|
|
1853
|
+
"description": "A custom label to show in the tooltip when a copy error occurs.",
|
|
1854
|
+
"value": { "type": "string", "default": "''" }
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
"name": "feedback-duration",
|
|
1858
|
+
"description": "The length of time to show feedback before restoring the default trigger.",
|
|
1859
|
+
"value": { "type": "number", "default": "1000" }
|
|
1860
|
+
},
|
|
1861
|
+
{
|
|
1862
|
+
"name": "tooltip-placement",
|
|
1863
|
+
"description": "The preferred placement of the tooltip.",
|
|
1864
|
+
"value": {
|
|
1865
|
+
"type": "'top' | 'right' | 'bottom' | 'left'",
|
|
1866
|
+
"default": "'top'"
|
|
1867
|
+
}
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
"name": "hoist",
|
|
1871
|
+
"description": "Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\nscenarios.",
|
|
1872
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1645
1873
|
}
|
|
1646
1874
|
],
|
|
1647
|
-
"
|
|
1875
|
+
"slots": [
|
|
1648
1876
|
{
|
|
1649
|
-
"name": "
|
|
1650
|
-
"description": "
|
|
1877
|
+
"name": "copy-icon",
|
|
1878
|
+
"description": "The icon to show in the default copy state. Works best with `<cw-icon>`."
|
|
1651
1879
|
},
|
|
1652
1880
|
{
|
|
1653
|
-
"name": "
|
|
1654
|
-
"description": "
|
|
1881
|
+
"name": "success-icon",
|
|
1882
|
+
"description": "The icon to show when the content is copied. Works best with `<cw-icon>`."
|
|
1655
1883
|
},
|
|
1656
1884
|
{
|
|
1657
|
-
"name": "
|
|
1658
|
-
"description": "
|
|
1885
|
+
"name": "error-icon",
|
|
1886
|
+
"description": "The icon to show when a copy error occurs. Works best with `<cw-icon>`."
|
|
1887
|
+
}
|
|
1888
|
+
],
|
|
1889
|
+
"events": [
|
|
1890
|
+
{
|
|
1891
|
+
"name": "cw-copy",
|
|
1892
|
+
"description": "Emitted when the data has been copied."
|
|
1659
1893
|
},
|
|
1660
1894
|
{
|
|
1661
|
-
"name": "cw-
|
|
1662
|
-
"description": "Emitted
|
|
1895
|
+
"name": "cw-error",
|
|
1896
|
+
"description": "Emitted when the data could not be copied."
|
|
1663
1897
|
}
|
|
1664
1898
|
],
|
|
1665
1899
|
"js": {
|
|
1666
1900
|
"properties": [
|
|
1667
|
-
{ "name": "
|
|
1668
|
-
{ "name": "
|
|
1669
|
-
{ "name": "
|
|
1670
|
-
{ "name": "
|
|
1671
|
-
{ "name": "
|
|
1901
|
+
{ "name": "copyIcon", "type": "HTMLSlotElement" },
|
|
1902
|
+
{ "name": "successIcon", "type": "HTMLSlotElement" },
|
|
1903
|
+
{ "name": "errorIcon", "type": "HTMLSlotElement" },
|
|
1904
|
+
{ "name": "tooltip", "type": "CwTooltip" },
|
|
1905
|
+
{ "name": "isCopying", "type": "boolean" },
|
|
1906
|
+
{ "name": "status", "type": "'rest' | 'success' | 'error'" },
|
|
1672
1907
|
{
|
|
1673
|
-
"name": "
|
|
1674
|
-
"description": "
|
|
1675
|
-
"type": "
|
|
1908
|
+
"name": "value",
|
|
1909
|
+
"description": "The text value to copy.",
|
|
1910
|
+
"type": "string"
|
|
1676
1911
|
},
|
|
1677
1912
|
{
|
|
1678
|
-
"name": "
|
|
1679
|
-
"description": "
|
|
1913
|
+
"name": "from",
|
|
1914
|
+
"description": "An id that references an element in the same document from which data will be copied. If both this and `value` are\npresent, this value will take precedence. By default, the target element's `textContent` will be copied. To copy an\nattribute, append the attribute name wrapped in square brackets, e.g. `from=\"el[value]\"`. To copy a property,\nappend a dot and the property name, e.g. `from=\"el.value\"`.",
|
|
1680
1915
|
"type": "string"
|
|
1681
1916
|
},
|
|
1682
1917
|
{
|
|
1683
1918
|
"name": "disabled",
|
|
1684
|
-
"description": "Disables the
|
|
1919
|
+
"description": "Disables the copy button.",
|
|
1685
1920
|
"type": "boolean"
|
|
1686
|
-
}
|
|
1687
|
-
],
|
|
1688
|
-
"events": [
|
|
1921
|
+
},
|
|
1689
1922
|
{
|
|
1690
|
-
"name": "
|
|
1691
|
-
"description": "
|
|
1923
|
+
"name": "copyLabel",
|
|
1924
|
+
"description": "A custom label to show in the tooltip.",
|
|
1925
|
+
"type": "string"
|
|
1692
1926
|
},
|
|
1693
1927
|
{
|
|
1694
|
-
"name": "
|
|
1695
|
-
"description": "
|
|
1928
|
+
"name": "successLabel",
|
|
1929
|
+
"description": "A custom label to show in the tooltip after copying.",
|
|
1930
|
+
"type": "string"
|
|
1696
1931
|
},
|
|
1697
1932
|
{
|
|
1698
|
-
"name": "
|
|
1699
|
-
"description": "
|
|
1933
|
+
"name": "errorLabel",
|
|
1934
|
+
"description": "A custom label to show in the tooltip when a copy error occurs.",
|
|
1935
|
+
"type": "string"
|
|
1700
1936
|
},
|
|
1701
1937
|
{
|
|
1702
|
-
"name": "
|
|
1703
|
-
"description": "
|
|
1938
|
+
"name": "feedbackDuration",
|
|
1939
|
+
"description": "The length of time to show feedback before restoring the default trigger.",
|
|
1940
|
+
"type": "number"
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
"name": "tooltipPlacement",
|
|
1944
|
+
"description": "The preferred placement of the tooltip.",
|
|
1945
|
+
"type": "'top' | 'right' | 'bottom' | 'left'"
|
|
1946
|
+
},
|
|
1947
|
+
{
|
|
1948
|
+
"name": "hoist",
|
|
1949
|
+
"description": "Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\nscenarios.",
|
|
1950
|
+
"type": "boolean"
|
|
1951
|
+
}
|
|
1952
|
+
],
|
|
1953
|
+
"events": [
|
|
1954
|
+
{
|
|
1955
|
+
"name": "cw-copy",
|
|
1956
|
+
"description": "Emitted when the data has been copied."
|
|
1957
|
+
},
|
|
1958
|
+
{
|
|
1959
|
+
"name": "cw-error",
|
|
1960
|
+
"description": "Emitted when the data could not be copied."
|
|
1704
1961
|
}
|
|
1705
1962
|
]
|
|
1706
1963
|
}
|
|
1707
1964
|
},
|
|
1708
1965
|
{
|
|
1709
|
-
"name": "cw-
|
|
1710
|
-
"description": "
|
|
1966
|
+
"name": "cw-date-picker",
|
|
1967
|
+
"description": "Date pickers let users select a date from a calendar.\n---\n\n\n### **Events:**\n - **cw-change** - Emitted when the control's value changes.\n- **cw-clear** - Emitted when the control's value is cleared.\n- **cw-input** - Emitted when the control receives input.\n- **cw-focus** - Emitted when the control gains focus.\n- **cw-blur** - Emitted when the control loses focus.\n- **cw-show** - Emitted when the date picker's calendar opens.\n- **cw-after-show** - Emitted after the date picker's calendar opens and all animations are complete.\n- **cw-hide** - Emitted when the date picker's calendar closes.\n- **cw-after-hide** - Emitted after the date picker's calendar closes and all animations are complete.\n- **cw-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **show()** - Shows the calendar.\n- **hide()** - Hides the calendar.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the combobox.\n- **suffix** - Used to append a presentational icon or similar element to the combobox.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The date picker's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container the wraps the prefix, suffix, display input, clear icon, and expand icon.\n- **prefix** - The container that wraps the prefix slot.\n- **suffix** - The container that wraps the suffix slot.\n- **display-input** - The element that displays the selected date, an `<input>` element.\n- **calendar** - The calendar container where the header and date grid are rendered.\n- **header** - The calendar's header containing the previous/next buttons and heading.\n- **heading** - The heading that displays the focused month and year.\n- **previous-button** - The button that navigates to the previous month.\n- **next-button** - The button that navigates to the next month.\n- **grid** - The grid that contains the weekday headers and days.\n- **day** - An individual day within the grid.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
|
|
1711
1968
|
"doc-url": "",
|
|
1712
1969
|
"attributes": [
|
|
1713
1970
|
{
|
|
1714
|
-
"name": "
|
|
1715
|
-
"description": "
|
|
1716
|
-
"value": { "type": "
|
|
1971
|
+
"name": "name",
|
|
1972
|
+
"description": "The name of the date picker, submitted as a name/value pair with form data.",
|
|
1973
|
+
"value": { "type": "string", "default": "''" }
|
|
1717
1974
|
},
|
|
1718
1975
|
{
|
|
1719
|
-
"name": "
|
|
1720
|
-
"description": "The
|
|
1976
|
+
"name": "value",
|
|
1977
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
1721
1978
|
"value": { "type": "string", "default": "''" }
|
|
1722
1979
|
},
|
|
1723
1980
|
{
|
|
1724
|
-
"name": "
|
|
1725
|
-
"description": "
|
|
1726
|
-
"value": { "type": "
|
|
1727
|
-
}
|
|
1728
|
-
],
|
|
1729
|
-
"slots": [
|
|
1730
|
-
{ "name": "", "description": "The dialog's main content." },
|
|
1981
|
+
"name": "min",
|
|
1982
|
+
"description": "The earliest date a user may select, as a `YYYY-MM-DD` string.",
|
|
1983
|
+
"value": { "type": "string", "default": "''" }
|
|
1984
|
+
},
|
|
1731
1985
|
{
|
|
1732
|
-
"name": "
|
|
1733
|
-
"description": "The
|
|
1986
|
+
"name": "max",
|
|
1987
|
+
"description": "The latest date a user may select, as a `YYYY-MM-DD` string.",
|
|
1988
|
+
"value": { "type": "string", "default": "''" }
|
|
1734
1989
|
},
|
|
1735
1990
|
{
|
|
1736
|
-
"name": "
|
|
1737
|
-
"description": "
|
|
1991
|
+
"name": "first-day-of-week",
|
|
1992
|
+
"description": "The first day of the week, where `0` is Sunday and `6` is Saturday. When not set, the first day of the week is\ndetermined by the page's locale, falling back to Sunday.",
|
|
1993
|
+
"value": { "type": "number | undefined" }
|
|
1738
1994
|
},
|
|
1739
1995
|
{
|
|
1740
|
-
"name": "
|
|
1741
|
-
"description": "The
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1996
|
+
"name": "size",
|
|
1997
|
+
"description": "The date picker's size.",
|
|
1998
|
+
"value": {
|
|
1999
|
+
"type": "'small' | 'medium' | 'large'",
|
|
2000
|
+
"default": "'medium'"
|
|
2001
|
+
}
|
|
2002
|
+
},
|
|
1745
2003
|
{
|
|
1746
|
-
"name": "
|
|
1747
|
-
"description": "
|
|
2004
|
+
"name": "placeholder",
|
|
2005
|
+
"description": "Placeholder text to show as a hint when the date picker is empty.",
|
|
2006
|
+
"value": { "type": "string", "default": "''" }
|
|
1748
2007
|
},
|
|
1749
2008
|
{
|
|
1750
|
-
"name": "
|
|
1751
|
-
"description": "
|
|
2009
|
+
"name": "disabled",
|
|
2010
|
+
"description": "Disables the date picker.",
|
|
2011
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1752
2012
|
},
|
|
1753
2013
|
{
|
|
1754
|
-
"name": "
|
|
1755
|
-
"description": "
|
|
2014
|
+
"name": "clearable",
|
|
2015
|
+
"description": "Adds a clear button when the date picker is not empty.",
|
|
2016
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1756
2017
|
},
|
|
1757
2018
|
{
|
|
1758
|
-
"name": "
|
|
1759
|
-
"description": "
|
|
2019
|
+
"name": "open",
|
|
2020
|
+
"description": "Indicates whether or not the date picker is open. You can toggle this attribute to show and hide the calendar, or\nyou can use the `show()` and `hide()` methods and this attribute will reflect the date picker's open state.",
|
|
2021
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1760
2022
|
},
|
|
1761
2023
|
{
|
|
1762
|
-
"name": "
|
|
1763
|
-
"description": "
|
|
2024
|
+
"name": "hoist",
|
|
2025
|
+
"description": "Enable this option to prevent the calendar from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
|
|
2026
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1764
2027
|
},
|
|
1765
2028
|
{
|
|
1766
|
-
"name": "
|
|
1767
|
-
"
|
|
1768
|
-
"description": "Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss."
|
|
1769
|
-
}
|
|
1770
|
-
],
|
|
1771
|
-
"js": {
|
|
1772
|
-
"properties": [
|
|
1773
|
-
{
|
|
1774
|
-
"name": "modal",
|
|
1775
|
-
"description": "Exposes the internal modal utility that controls focus trapping. To temporarily disable focus trapping and allow third-party modals spawned from an active modal, call `modal.activateExternal()` when the third-party modal opens. Upon closing, call `modal.deactivateExternal()` to restore the dialog's focus trapping."
|
|
1776
|
-
},
|
|
1777
|
-
{ "name": "dialog", "type": "HTMLElement" },
|
|
1778
|
-
{ "name": "panel", "type": "HTMLElement" },
|
|
1779
|
-
{ "name": "overlay", "type": "HTMLElement" },
|
|
1780
|
-
{
|
|
1781
|
-
"name": "open",
|
|
1782
|
-
"description": "Indicates whether or not the dialog is open. You can toggle this attribute to show and hide the dialog, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the dialog's open state.",
|
|
1783
|
-
"type": "boolean"
|
|
1784
|
-
},
|
|
1785
|
-
{
|
|
1786
|
-
"name": "label",
|
|
1787
|
-
"description": "The dialog's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.",
|
|
1788
|
-
"type": "string"
|
|
1789
|
-
},
|
|
1790
|
-
{
|
|
1791
|
-
"name": "noHeader",
|
|
1792
|
-
"description": "Disables the header. This will also remove the default close button, so please ensure you provide an easy,\naccessible way for users to dismiss the dialog.",
|
|
1793
|
-
"type": "boolean"
|
|
1794
|
-
}
|
|
1795
|
-
],
|
|
1796
|
-
"events": [
|
|
1797
|
-
{
|
|
1798
|
-
"name": "cw-show",
|
|
1799
|
-
"description": "Emitted when the dialog opens."
|
|
1800
|
-
},
|
|
1801
|
-
{
|
|
1802
|
-
"name": "cw-after-show",
|
|
1803
|
-
"description": "Emitted after the dialog opens and all animations are complete."
|
|
1804
|
-
},
|
|
1805
|
-
{
|
|
1806
|
-
"name": "cw-hide",
|
|
1807
|
-
"description": "Emitted when the dialog closes."
|
|
1808
|
-
},
|
|
1809
|
-
{
|
|
1810
|
-
"name": "cw-after-hide",
|
|
1811
|
-
"description": "Emitted after the dialog closes and all animations are complete."
|
|
1812
|
-
},
|
|
1813
|
-
{
|
|
1814
|
-
"name": "cw-initial-focus",
|
|
1815
|
-
"description": "Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input."
|
|
1816
|
-
},
|
|
1817
|
-
{
|
|
1818
|
-
"name": "cw-request-close",
|
|
1819
|
-
"type": "{ source: 'close-button' | 'keyboard' | 'overlay' }",
|
|
1820
|
-
"description": "Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss."
|
|
1821
|
-
}
|
|
1822
|
-
]
|
|
1823
|
-
}
|
|
1824
|
-
},
|
|
1825
|
-
{
|
|
1826
|
-
"name": "cw-divider",
|
|
1827
|
-
"description": "Dividers are used to visually separate or group elements.\n---\n\n\n### **CSS Properties:**\n - **--color** - The color of the divider. _(default: undefined)_\n- **--width** - The width of the divider. _(default: undefined)_\n- **--spacing** - The spacing of the divider. _(default: undefined)_",
|
|
1828
|
-
"doc-url": "",
|
|
1829
|
-
"attributes": [
|
|
1830
|
-
{
|
|
1831
|
-
"name": "vertical",
|
|
1832
|
-
"description": "Draws the divider in a vertical orientation.",
|
|
2029
|
+
"name": "filled",
|
|
2030
|
+
"description": "Draws a filled date picker.",
|
|
1833
2031
|
"value": { "type": "boolean", "default": "false" }
|
|
1834
|
-
}
|
|
1835
|
-
],
|
|
1836
|
-
"events": [],
|
|
1837
|
-
"js": {
|
|
1838
|
-
"properties": [
|
|
1839
|
-
{
|
|
1840
|
-
"name": "vertical",
|
|
1841
|
-
"description": "Draws the divider in a vertical orientation.",
|
|
1842
|
-
"type": "boolean"
|
|
1843
|
-
}
|
|
1844
|
-
],
|
|
1845
|
-
"events": []
|
|
1846
|
-
}
|
|
1847
|
-
},
|
|
1848
|
-
{
|
|
1849
|
-
"name": "cw-drawer",
|
|
1850
|
-
"description": "Drawers slide in from a container to expose additional options and information.\n---\n\n\n### **Events:**\n - **cw-show** - Emitted when the drawer opens.\n- **cw-after-show** - Emitted after the drawer opens and all animations are complete.\n- **cw-hide** - Emitted when the drawer closes.\n- **cw-after-hide** - Emitted after the drawer closes and all animations are complete.\n- **cw-initial-focus** - Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **cw-request-close** - Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the drawer.\n- **hide()** - Hides the drawer\n\n### **Slots:**\n - _default_ - The drawer's main content.\n- **label** - The drawer's label. Alternatively, you can use the `label` attribute.\n- **header-actions** - Optional actions to add to the header. Works best with `<cw-icon-button>`.\n- **footer** - The drawer's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--size** - The preferred size of the drawer. This will be applied to the drawer's width or height depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens. _(default: undefined)_\n- **--header-spacing** - The amount of padding to use for the header. _(default: undefined)_\n- **--body-spacing** - The amount of padding to use for the body. _(default: undefined)_\n- **--footer-spacing** - The amount of padding to use for the footer. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the drawer.\n- **panel** - The drawer's panel (where the drawer and its content are rendered).\n- **header** - The drawer's header. This element wraps the title and header actions.\n- **header-actions** - Optional actions to add to the header. Works best with `<cw-icon-button>`.\n- **title** - The drawer's title.\n- **close-button** - The close button, an `<cw-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
|
1851
|
-
"doc-url": "",
|
|
1852
|
-
"attributes": [
|
|
2032
|
+
},
|
|
1853
2033
|
{
|
|
1854
|
-
"name": "
|
|
1855
|
-
"description": "
|
|
2034
|
+
"name": "pill",
|
|
2035
|
+
"description": "Draws a pill-style date picker with rounded edges.",
|
|
1856
2036
|
"value": { "type": "boolean", "default": "false" }
|
|
1857
2037
|
},
|
|
1858
2038
|
{
|
|
1859
2039
|
"name": "label",
|
|
1860
|
-
"description": "The
|
|
2040
|
+
"description": "The date picker's label. If you need to display HTML, use the `label` slot instead.",
|
|
1861
2041
|
"value": { "type": "string", "default": "''" }
|
|
1862
2042
|
},
|
|
1863
2043
|
{
|
|
1864
2044
|
"name": "placement",
|
|
1865
|
-
"description": "The
|
|
1866
|
-
"value": {
|
|
1867
|
-
"type": "'top' | 'end' | 'bottom' | 'start'",
|
|
1868
|
-
"default": "'end'"
|
|
1869
|
-
}
|
|
2045
|
+
"description": "The preferred placement of the date picker's calendar. Note that the actual placement may vary as needed to keep the\ncalendar inside of the viewport.",
|
|
2046
|
+
"value": { "type": "'top' | 'bottom'", "default": "'bottom'" }
|
|
1870
2047
|
},
|
|
1871
2048
|
{
|
|
1872
|
-
"name": "
|
|
1873
|
-
"description": "
|
|
1874
|
-
"value": { "type": "
|
|
2049
|
+
"name": "help-text",
|
|
2050
|
+
"description": "The date picker's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
2051
|
+
"value": { "type": "string", "default": "''" }
|
|
1875
2052
|
},
|
|
1876
2053
|
{
|
|
1877
|
-
"name": "
|
|
1878
|
-
"description": "
|
|
2054
|
+
"name": "form",
|
|
2055
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
2056
|
+
"value": { "type": "string", "default": "''" }
|
|
2057
|
+
},
|
|
2058
|
+
{
|
|
2059
|
+
"name": "required",
|
|
2060
|
+
"description": "The date picker's required attribute.",
|
|
1879
2061
|
"value": { "type": "boolean", "default": "false" }
|
|
1880
2062
|
}
|
|
1881
2063
|
],
|
|
1882
2064
|
"slots": [
|
|
1883
|
-
{ "name": "", "description": "The drawer's main content." },
|
|
1884
2065
|
{
|
|
1885
2066
|
"name": "label",
|
|
1886
|
-
"description": "The
|
|
2067
|
+
"description": "The input's label. Alternatively, you can use the `label` attribute."
|
|
1887
2068
|
},
|
|
1888
2069
|
{
|
|
1889
|
-
"name": "
|
|
1890
|
-
"description": "
|
|
2070
|
+
"name": "prefix",
|
|
2071
|
+
"description": "Used to prepend a presentational icon or similar element to the combobox."
|
|
1891
2072
|
},
|
|
1892
2073
|
{
|
|
1893
|
-
"name": "
|
|
1894
|
-
"description": "
|
|
2074
|
+
"name": "suffix",
|
|
2075
|
+
"description": "Used to append a presentational icon or similar element to the combobox."
|
|
2076
|
+
},
|
|
2077
|
+
{
|
|
2078
|
+
"name": "clear-icon",
|
|
2079
|
+
"description": "An icon to use in lieu of the default clear icon."
|
|
2080
|
+
},
|
|
2081
|
+
{
|
|
2082
|
+
"name": "expand-icon",
|
|
2083
|
+
"description": "The icon to show when the control is expanded and collapsed."
|
|
2084
|
+
},
|
|
2085
|
+
{
|
|
2086
|
+
"name": "help-text",
|
|
2087
|
+
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute."
|
|
1895
2088
|
}
|
|
1896
2089
|
],
|
|
1897
2090
|
"events": [
|
|
2091
|
+
{
|
|
2092
|
+
"name": "cw-change",
|
|
2093
|
+
"description": "Emitted when the control's value changes."
|
|
2094
|
+
},
|
|
2095
|
+
{
|
|
2096
|
+
"name": "cw-clear",
|
|
2097
|
+
"description": "Emitted when the control's value is cleared."
|
|
2098
|
+
},
|
|
2099
|
+
{
|
|
2100
|
+
"name": "cw-input",
|
|
2101
|
+
"description": "Emitted when the control receives input."
|
|
2102
|
+
},
|
|
2103
|
+
{
|
|
2104
|
+
"name": "cw-focus",
|
|
2105
|
+
"description": "Emitted when the control gains focus."
|
|
2106
|
+
},
|
|
2107
|
+
{
|
|
2108
|
+
"name": "cw-blur",
|
|
2109
|
+
"description": "Emitted when the control loses focus."
|
|
2110
|
+
},
|
|
1898
2111
|
{
|
|
1899
2112
|
"name": "cw-show",
|
|
1900
|
-
"description": "Emitted when the
|
|
2113
|
+
"description": "Emitted when the date picker's calendar opens."
|
|
1901
2114
|
},
|
|
1902
2115
|
{
|
|
1903
2116
|
"name": "cw-after-show",
|
|
1904
|
-
"description": "Emitted after the
|
|
2117
|
+
"description": "Emitted after the date picker's calendar opens and all animations are complete."
|
|
1905
2118
|
},
|
|
1906
2119
|
{
|
|
1907
2120
|
"name": "cw-hide",
|
|
1908
|
-
"description": "Emitted when the
|
|
2121
|
+
"description": "Emitted when the date picker's calendar closes."
|
|
1909
2122
|
},
|
|
1910
2123
|
{
|
|
1911
2124
|
"name": "cw-after-hide",
|
|
1912
|
-
"description": "Emitted after the
|
|
1913
|
-
},
|
|
1914
|
-
{
|
|
1915
|
-
"name": "cw-initial-focus",
|
|
1916
|
-
"description": "Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input."
|
|
2125
|
+
"description": "Emitted after the date picker's calendar closes and all animations are complete."
|
|
1917
2126
|
},
|
|
1918
2127
|
{
|
|
1919
|
-
"name": "cw-
|
|
1920
|
-
"
|
|
1921
|
-
"description": "Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss."
|
|
2128
|
+
"name": "cw-invalid",
|
|
2129
|
+
"description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied."
|
|
1922
2130
|
}
|
|
1923
2131
|
],
|
|
1924
2132
|
"js": {
|
|
1925
2133
|
"properties": [
|
|
2134
|
+
{ "name": "popup", "type": "CwPopup" },
|
|
2135
|
+
{ "name": "combobox", "type": "HTMLElement" },
|
|
2136
|
+
{ "name": "displayInput", "type": "HTMLInputElement" },
|
|
2137
|
+
{ "name": "valueInput", "type": "HTMLInputElement" },
|
|
2138
|
+
{ "name": "calendar", "type": "HTMLElement" },
|
|
1926
2139
|
{
|
|
1927
|
-
"name": "
|
|
1928
|
-
"description": "
|
|
2140
|
+
"name": "name",
|
|
2141
|
+
"description": "The name of the date picker, submitted as a name/value pair with form data.",
|
|
2142
|
+
"type": "string"
|
|
2143
|
+
},
|
|
2144
|
+
{
|
|
2145
|
+
"name": "value",
|
|
2146
|
+
"description": "The current value of the date picker, submitted as a name/value pair with form data. The value is an ISO 8601 date string in `YYYY-MM-DD` format."
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"name": "defaultValue",
|
|
2150
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
2151
|
+
"type": "string"
|
|
2152
|
+
},
|
|
2153
|
+
{
|
|
2154
|
+
"name": "min",
|
|
2155
|
+
"description": "The earliest date a user may select, as a `YYYY-MM-DD` string.",
|
|
2156
|
+
"type": "string"
|
|
2157
|
+
},
|
|
2158
|
+
{
|
|
2159
|
+
"name": "max",
|
|
2160
|
+
"description": "The latest date a user may select, as a `YYYY-MM-DD` string.",
|
|
2161
|
+
"type": "string"
|
|
2162
|
+
},
|
|
2163
|
+
{
|
|
2164
|
+
"name": "firstDayOfWeek",
|
|
2165
|
+
"description": "The first day of the week, where `0` is Sunday and `6` is Saturday. When not set, the first day of the week is\ndetermined by the page's locale, falling back to Sunday.",
|
|
2166
|
+
"type": "number | undefined"
|
|
2167
|
+
},
|
|
2168
|
+
{
|
|
2169
|
+
"name": "size",
|
|
2170
|
+
"description": "The date picker's size.",
|
|
2171
|
+
"type": "'small' | 'medium' | 'large'"
|
|
2172
|
+
},
|
|
2173
|
+
{
|
|
2174
|
+
"name": "placeholder",
|
|
2175
|
+
"description": "Placeholder text to show as a hint when the date picker is empty.",
|
|
2176
|
+
"type": "string"
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
"name": "disabled",
|
|
2180
|
+
"description": "Disables the date picker.",
|
|
2181
|
+
"type": "boolean"
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
"name": "clearable",
|
|
2185
|
+
"description": "Adds a clear button when the date picker is not empty.",
|
|
2186
|
+
"type": "boolean"
|
|
1929
2187
|
},
|
|
1930
|
-
{ "name": "drawer", "type": "HTMLElement" },
|
|
1931
|
-
{ "name": "panel", "type": "HTMLElement" },
|
|
1932
|
-
{ "name": "overlay", "type": "HTMLElement" },
|
|
1933
2188
|
{
|
|
1934
2189
|
"name": "open",
|
|
1935
|
-
"description": "Indicates whether or not the
|
|
2190
|
+
"description": "Indicates whether or not the date picker is open. You can toggle this attribute to show and hide the calendar, or\nyou can use the `show()` and `hide()` methods and this attribute will reflect the date picker's open state.",
|
|
2191
|
+
"type": "boolean"
|
|
2192
|
+
},
|
|
2193
|
+
{
|
|
2194
|
+
"name": "hoist",
|
|
2195
|
+
"description": "Enable this option to prevent the calendar from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
|
|
2196
|
+
"type": "boolean"
|
|
2197
|
+
},
|
|
2198
|
+
{
|
|
2199
|
+
"name": "filled",
|
|
2200
|
+
"description": "Draws a filled date picker.",
|
|
2201
|
+
"type": "boolean"
|
|
2202
|
+
},
|
|
2203
|
+
{
|
|
2204
|
+
"name": "pill",
|
|
2205
|
+
"description": "Draws a pill-style date picker with rounded edges.",
|
|
1936
2206
|
"type": "boolean"
|
|
1937
2207
|
},
|
|
1938
2208
|
{
|
|
1939
2209
|
"name": "label",
|
|
1940
|
-
"description": "The
|
|
2210
|
+
"description": "The date picker's label. If you need to display HTML, use the `label` slot instead.",
|
|
1941
2211
|
"type": "string"
|
|
1942
2212
|
},
|
|
1943
2213
|
{
|
|
1944
2214
|
"name": "placement",
|
|
1945
|
-
"description": "The
|
|
1946
|
-
"type": "'top' | '
|
|
2215
|
+
"description": "The preferred placement of the date picker's calendar. Note that the actual placement may vary as needed to keep the\ncalendar inside of the viewport.",
|
|
2216
|
+
"type": "'top' | 'bottom'"
|
|
1947
2217
|
},
|
|
1948
2218
|
{
|
|
1949
|
-
"name": "
|
|
1950
|
-
"description": "
|
|
1951
|
-
"type": "
|
|
2219
|
+
"name": "helpText",
|
|
2220
|
+
"description": "The date picker's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
2221
|
+
"type": "string"
|
|
1952
2222
|
},
|
|
1953
2223
|
{
|
|
1954
|
-
"name": "
|
|
1955
|
-
"description": "
|
|
2224
|
+
"name": "form",
|
|
2225
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
2226
|
+
"type": "string"
|
|
2227
|
+
},
|
|
2228
|
+
{
|
|
2229
|
+
"name": "required",
|
|
2230
|
+
"description": "The date picker's required attribute.",
|
|
1956
2231
|
"type": "boolean"
|
|
2232
|
+
},
|
|
2233
|
+
{
|
|
2234
|
+
"name": "validity",
|
|
2235
|
+
"description": "Gets the validity state object"
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
"name": "validationMessage",
|
|
2239
|
+
"description": "Gets the validation message"
|
|
1957
2240
|
}
|
|
1958
2241
|
],
|
|
1959
2242
|
"events": [
|
|
1960
2243
|
{
|
|
1961
|
-
"name": "cw-
|
|
1962
|
-
"description": "Emitted when the
|
|
2244
|
+
"name": "cw-change",
|
|
2245
|
+
"description": "Emitted when the control's value changes."
|
|
1963
2246
|
},
|
|
1964
2247
|
{
|
|
1965
|
-
"name": "cw-
|
|
1966
|
-
"description": "Emitted
|
|
2248
|
+
"name": "cw-clear",
|
|
2249
|
+
"description": "Emitted when the control's value is cleared."
|
|
1967
2250
|
},
|
|
1968
2251
|
{
|
|
1969
|
-
"name": "cw-
|
|
1970
|
-
"description": "Emitted when the
|
|
2252
|
+
"name": "cw-input",
|
|
2253
|
+
"description": "Emitted when the control receives input."
|
|
1971
2254
|
},
|
|
1972
2255
|
{
|
|
1973
|
-
"name": "cw-
|
|
1974
|
-
"description": "Emitted
|
|
1975
|
-
},
|
|
2256
|
+
"name": "cw-focus",
|
|
2257
|
+
"description": "Emitted when the control gains focus."
|
|
2258
|
+
},
|
|
1976
2259
|
{
|
|
1977
|
-
"name": "cw-
|
|
1978
|
-
"description": "Emitted when the
|
|
2260
|
+
"name": "cw-blur",
|
|
2261
|
+
"description": "Emitted when the control loses focus."
|
|
1979
2262
|
},
|
|
1980
2263
|
{
|
|
1981
|
-
"name": "cw-
|
|
1982
|
-
"
|
|
1983
|
-
|
|
2264
|
+
"name": "cw-show",
|
|
2265
|
+
"description": "Emitted when the date picker's calendar opens."
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
"name": "cw-after-show",
|
|
2269
|
+
"description": "Emitted after the date picker's calendar opens and all animations are complete."
|
|
2270
|
+
},
|
|
2271
|
+
{
|
|
2272
|
+
"name": "cw-hide",
|
|
2273
|
+
"description": "Emitted when the date picker's calendar closes."
|
|
2274
|
+
},
|
|
2275
|
+
{
|
|
2276
|
+
"name": "cw-after-hide",
|
|
2277
|
+
"description": "Emitted after the date picker's calendar closes and all animations are complete."
|
|
2278
|
+
},
|
|
2279
|
+
{
|
|
2280
|
+
"name": "cw-invalid",
|
|
2281
|
+
"description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied."
|
|
1984
2282
|
}
|
|
1985
2283
|
]
|
|
1986
2284
|
}
|
|
1987
2285
|
},
|
|
1988
2286
|
{
|
|
1989
|
-
"name": "cw-
|
|
1990
|
-
"description": "
|
|
2287
|
+
"name": "cw-details",
|
|
2288
|
+
"description": "Details show a brief summary and expand to show additional content.\n---\n\n\n### **Events:**\n - **cw-show** - Emitted when the details opens.\n- **cw-after-show** - Emitted after the details opens and all animations are complete.\n- **cw-hide** - Emitted when the details closes.\n- **cw-after-hide** - Emitted after the details closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the details.\n- **hide()** - Hides the details\n\n### **Slots:**\n - _default_ - The details' main content.\n- **summary** - The details' summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<cw-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<cw-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The header that wraps both the summary and the expand/collapse icon.\n- **summary** - The container that wraps the summary.\n- **summary-icon** - The container that wraps the expand/collapse icons.\n- **content** - The details content.",
|
|
1991
2289
|
"doc-url": "",
|
|
1992
2290
|
"attributes": [
|
|
1993
2291
|
{
|
|
1994
2292
|
"name": "open",
|
|
1995
|
-
"description": "Indicates whether or not the
|
|
2293
|
+
"description": "Indicates whether or not the details is open. You can toggle this attribute to show and hide the details, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the details' open state.",
|
|
1996
2294
|
"value": { "type": "boolean", "default": "false" }
|
|
1997
2295
|
},
|
|
1998
2296
|
{
|
|
1999
|
-
"name": "
|
|
2000
|
-
"description": "The
|
|
2001
|
-
"value": {
|
|
2002
|
-
"type": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end'",
|
|
2003
|
-
"default": "'bottom-start'"
|
|
2004
|
-
}
|
|
2297
|
+
"name": "summary",
|
|
2298
|
+
"description": "The summary to show in the header. If you need to display HTML, use the `summary` slot instead.",
|
|
2299
|
+
"value": { "type": "string" }
|
|
2005
2300
|
},
|
|
2006
2301
|
{
|
|
2007
2302
|
"name": "disabled",
|
|
2008
|
-
"description": "Disables the
|
|
2009
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2010
|
-
},
|
|
2011
|
-
{
|
|
2012
|
-
"name": "stay-open-on-select",
|
|
2013
|
-
"description": "By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for\ndropdowns that allow for multiple interactions.",
|
|
2303
|
+
"description": "Disables the details so it can't be toggled.",
|
|
2014
2304
|
"value": { "type": "boolean", "default": "false" }
|
|
2015
|
-
}
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
"value": { "type": "number", "default": "0" }
|
|
2020
|
-
},
|
|
2305
|
+
}
|
|
2306
|
+
],
|
|
2307
|
+
"slots": [
|
|
2308
|
+
{ "name": "", "description": "The details' main content." },
|
|
2021
2309
|
{
|
|
2022
|
-
"name": "
|
|
2023
|
-
"description": "The
|
|
2024
|
-
"value": { "type": "number", "default": "0" }
|
|
2310
|
+
"name": "summary",
|
|
2311
|
+
"description": "The details' summary. Alternatively, you can use the `summary` attribute."
|
|
2025
2312
|
},
|
|
2026
2313
|
{
|
|
2027
|
-
"name": "
|
|
2028
|
-
"description": "
|
|
2029
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2314
|
+
"name": "expand-icon",
|
|
2315
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<cw-icon>`."
|
|
2030
2316
|
},
|
|
2031
2317
|
{
|
|
2032
|
-
"name": "
|
|
2033
|
-
"description": "
|
|
2034
|
-
"value": {
|
|
2035
|
-
"type": "'width' | 'height' | 'both' | undefined",
|
|
2036
|
-
"default": "undefined"
|
|
2037
|
-
}
|
|
2038
|
-
}
|
|
2039
|
-
],
|
|
2040
|
-
"slots": [
|
|
2041
|
-
{ "name": "", "description": "The dropdown's main content." },
|
|
2042
|
-
{
|
|
2043
|
-
"name": "trigger",
|
|
2044
|
-
"description": "The dropdown's trigger, usually a `<cw-button>` element."
|
|
2318
|
+
"name": "collapse-icon",
|
|
2319
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<cw-icon>`."
|
|
2045
2320
|
}
|
|
2046
2321
|
],
|
|
2047
2322
|
"events": [
|
|
2048
2323
|
{
|
|
2049
2324
|
"name": "cw-show",
|
|
2050
|
-
"description": "Emitted when the
|
|
2325
|
+
"description": "Emitted when the details opens."
|
|
2051
2326
|
},
|
|
2052
2327
|
{
|
|
2053
2328
|
"name": "cw-after-show",
|
|
2054
|
-
"description": "Emitted after the
|
|
2329
|
+
"description": "Emitted after the details opens and all animations are complete."
|
|
2055
2330
|
},
|
|
2056
2331
|
{
|
|
2057
2332
|
"name": "cw-hide",
|
|
2058
|
-
"description": "Emitted when the
|
|
2333
|
+
"description": "Emitted when the details closes."
|
|
2059
2334
|
},
|
|
2060
2335
|
{
|
|
2061
2336
|
"name": "cw-after-hide",
|
|
2062
|
-
"description": "Emitted after the
|
|
2337
|
+
"description": "Emitted after the details closes and all animations are complete."
|
|
2063
2338
|
}
|
|
2064
2339
|
],
|
|
2065
2340
|
"js": {
|
|
2066
2341
|
"properties": [
|
|
2067
|
-
{ "name": "
|
|
2068
|
-
{ "name": "
|
|
2069
|
-
{ "name": "
|
|
2342
|
+
{ "name": "details", "type": "HTMLDetailsElement" },
|
|
2343
|
+
{ "name": "header", "type": "HTMLElement" },
|
|
2344
|
+
{ "name": "body", "type": "HTMLElement" },
|
|
2345
|
+
{ "name": "expandIconSlot", "type": "HTMLSlotElement" },
|
|
2346
|
+
{ "name": "detailsObserver", "type": "MutationObserver" },
|
|
2070
2347
|
{
|
|
2071
2348
|
"name": "open",
|
|
2072
|
-
"description": "Indicates whether or not the
|
|
2349
|
+
"description": "Indicates whether or not the details is open. You can toggle this attribute to show and hide the details, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the details' open state.",
|
|
2073
2350
|
"type": "boolean"
|
|
2074
2351
|
},
|
|
2075
2352
|
{
|
|
2076
|
-
"name": "
|
|
2077
|
-
"description": "The
|
|
2078
|
-
"type": "
|
|
2353
|
+
"name": "summary",
|
|
2354
|
+
"description": "The summary to show in the header. If you need to display HTML, use the `summary` slot instead.",
|
|
2355
|
+
"type": "string"
|
|
2079
2356
|
},
|
|
2080
2357
|
{
|
|
2081
2358
|
"name": "disabled",
|
|
2082
|
-
"description": "Disables the
|
|
2083
|
-
"type": "boolean"
|
|
2084
|
-
},
|
|
2085
|
-
{
|
|
2086
|
-
"name": "stayOpenOnSelect",
|
|
2087
|
-
"description": "By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for\ndropdowns that allow for multiple interactions.",
|
|
2088
|
-
"type": "boolean"
|
|
2089
|
-
},
|
|
2090
|
-
{
|
|
2091
|
-
"name": "containingElement",
|
|
2092
|
-
"description": "The dropdown will close when the user interacts outside of this element (e.g. clicking). Useful for composing other\ncomponents that use a dropdown internally.",
|
|
2093
|
-
"type": "HTMLElement | undefined"
|
|
2094
|
-
},
|
|
2095
|
-
{
|
|
2096
|
-
"name": "distance",
|
|
2097
|
-
"description": "The distance in pixels from which to offset the panel away from its trigger.",
|
|
2098
|
-
"type": "number"
|
|
2099
|
-
},
|
|
2100
|
-
{
|
|
2101
|
-
"name": "skidding",
|
|
2102
|
-
"description": "The distance in pixels from which to offset the panel along its trigger.",
|
|
2103
|
-
"type": "number"
|
|
2104
|
-
},
|
|
2105
|
-
{
|
|
2106
|
-
"name": "hoist",
|
|
2107
|
-
"description": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
|
|
2359
|
+
"description": "Disables the details so it can't be toggled.",
|
|
2108
2360
|
"type": "boolean"
|
|
2109
|
-
},
|
|
2110
|
-
{
|
|
2111
|
-
"name": "sync",
|
|
2112
|
-
"description": "Syncs the popup width or height to that of the trigger element.",
|
|
2113
|
-
"type": "'width' | 'height' | 'both' | undefined"
|
|
2114
2361
|
}
|
|
2115
2362
|
],
|
|
2116
2363
|
"events": [
|
|
2117
2364
|
{
|
|
2118
2365
|
"name": "cw-show",
|
|
2119
|
-
"description": "Emitted when the
|
|
2366
|
+
"description": "Emitted when the details opens."
|
|
2120
2367
|
},
|
|
2121
2368
|
{
|
|
2122
2369
|
"name": "cw-after-show",
|
|
2123
|
-
"description": "Emitted after the
|
|
2370
|
+
"description": "Emitted after the details opens and all animations are complete."
|
|
2124
2371
|
},
|
|
2125
2372
|
{
|
|
2126
2373
|
"name": "cw-hide",
|
|
2127
|
-
"description": "Emitted when the
|
|
2374
|
+
"description": "Emitted when the details closes."
|
|
2128
2375
|
},
|
|
2129
2376
|
{
|
|
2130
2377
|
"name": "cw-after-hide",
|
|
2131
|
-
"description": "Emitted after the
|
|
2378
|
+
"description": "Emitted after the details closes and all animations are complete."
|
|
2132
2379
|
}
|
|
2133
2380
|
]
|
|
2134
2381
|
}
|
|
2135
2382
|
},
|
|
2136
2383
|
{
|
|
2137
|
-
"name": "cw-
|
|
2138
|
-
"description": "
|
|
2384
|
+
"name": "cw-dialog",
|
|
2385
|
+
"description": "Dialogs, sometimes called \"modals\", appear above the page and require the user's immediate attention.\n---\n\n\n### **Events:**\n - **cw-show** - Emitted when the dialog opens.\n- **cw-after-show** - Emitted after the dialog opens and all animations are complete.\n- **cw-hide** - Emitted when the dialog closes.\n- **cw-after-hide** - Emitted after the dialog closes and all animations are complete.\n- **cw-initial-focus** - Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **cw-request-close** - Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the dialog.\n- **hide()** - Hides the dialog\n\n### **Slots:**\n - _default_ - The dialog's main content.\n- **label** - The dialog's label. Alternatively, you can use the `label` attribute.\n- **header-actions** - Optional actions to add to the header. Works best with `<cw-icon-button>`.\n- **footer** - The dialog's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens. _(default: undefined)_\n- **--header-spacing** - The amount of padding to use for the header. _(default: undefined)_\n- **--body-spacing** - The amount of padding to use for the body. _(default: undefined)_\n- **--footer-spacing** - The amount of padding to use for the footer. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the dialog.\n- **panel** - The dialog's panel (where the dialog and its content are rendered).\n- **header** - The dialog's header. This element wraps the title and header actions.\n- **header-actions** - Optional actions to add to the header. Works best with `<cw-icon-button>`.\n- **title** - The dialog's title.\n- **close-button** - The close button, an `<cw-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
|
|
2139
2386
|
"doc-url": "",
|
|
2140
2387
|
"attributes": [
|
|
2141
2388
|
{
|
|
2142
|
-
"name": "
|
|
2143
|
-
"description": "
|
|
2144
|
-
"value": { "type": "
|
|
2389
|
+
"name": "open",
|
|
2390
|
+
"description": "Indicates whether or not the dialog is open. You can toggle this attribute to show and hide the dialog, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the dialog's open state.",
|
|
2391
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2145
2392
|
},
|
|
2146
2393
|
{
|
|
2147
|
-
"name": "
|
|
2148
|
-
"description": "The
|
|
2149
|
-
"value": { "type": "
|
|
2394
|
+
"name": "label",
|
|
2395
|
+
"description": "The dialog's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.",
|
|
2396
|
+
"value": { "type": "string", "default": "''" }
|
|
2150
2397
|
},
|
|
2151
2398
|
{
|
|
2152
|
-
"name": "
|
|
2153
|
-
"description": "
|
|
2154
|
-
"value": {
|
|
2155
|
-
"type": "'long' | 'short' | 'narrow'",
|
|
2156
|
-
"default": "'short'"
|
|
2157
|
-
}
|
|
2399
|
+
"name": "no-header",
|
|
2400
|
+
"description": "Disables the header. This will also remove the default close button, so please ensure you provide an easy,\naccessible way for users to dismiss the dialog.",
|
|
2401
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2158
2402
|
}
|
|
2159
2403
|
],
|
|
2160
|
-
"
|
|
2161
|
-
|
|
2162
|
-
"properties": [
|
|
2163
|
-
{
|
|
2164
|
-
"name": "value",
|
|
2165
|
-
"description": "The number to format in bytes.",
|
|
2166
|
-
"type": "number"
|
|
2167
|
-
},
|
|
2168
|
-
{
|
|
2169
|
-
"name": "unit",
|
|
2170
|
-
"description": "The type of unit to display.",
|
|
2171
|
-
"type": "'byte' | 'bit'"
|
|
2172
|
-
},
|
|
2173
|
-
{
|
|
2174
|
-
"name": "display",
|
|
2175
|
-
"description": "Determines how to display the result, e.g. \"100 bytes\", \"100 b\", or \"100b\".",
|
|
2176
|
-
"type": "'long' | 'short' | 'narrow'"
|
|
2177
|
-
}
|
|
2178
|
-
],
|
|
2179
|
-
"events": []
|
|
2180
|
-
}
|
|
2181
|
-
},
|
|
2182
|
-
{
|
|
2183
|
-
"name": "cw-format-date",
|
|
2184
|
-
"description": "Formats a date/time using the specified locale and options.\n---\n",
|
|
2185
|
-
"doc-url": "",
|
|
2186
|
-
"attributes": [
|
|
2187
|
-
{
|
|
2188
|
-
"name": "date",
|
|
2189
|
-
"description": "The date/time to format. If not set, the current date and time will be used. When passing a string, it's strongly\nrecommended to use the ISO 8601 format to ensure timezones are handled correctly. To convert a date to this format\nin JavaScript, use [`date.toISOString()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString).",
|
|
2190
|
-
"value": { "type": "Date | string", "default": "new Date()" }
|
|
2191
|
-
},
|
|
2192
|
-
{
|
|
2193
|
-
"name": "weekday",
|
|
2194
|
-
"description": "The format for displaying the weekday.",
|
|
2195
|
-
"value": { "type": "'narrow' | 'short' | 'long'" }
|
|
2196
|
-
},
|
|
2404
|
+
"slots": [
|
|
2405
|
+
{ "name": "", "description": "The dialog's main content." },
|
|
2197
2406
|
{
|
|
2198
|
-
"name": "
|
|
2199
|
-
"description": "The
|
|
2200
|
-
"value": { "type": "'narrow' | 'short' | 'long'" }
|
|
2407
|
+
"name": "label",
|
|
2408
|
+
"description": "The dialog's label. Alternatively, you can use the `label` attribute."
|
|
2201
2409
|
},
|
|
2202
2410
|
{
|
|
2203
|
-
"name": "
|
|
2204
|
-
"description": "
|
|
2205
|
-
"value": { "type": "'numeric' | '2-digit'" }
|
|
2411
|
+
"name": "header-actions",
|
|
2412
|
+
"description": "Optional actions to add to the header. Works best with `<cw-icon-button>`."
|
|
2206
2413
|
},
|
|
2207
2414
|
{
|
|
2208
|
-
"name": "
|
|
2209
|
-
"description": "The
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
},
|
|
2415
|
+
"name": "footer",
|
|
2416
|
+
"description": "The dialog's footer, usually one or more buttons representing various options."
|
|
2417
|
+
}
|
|
2418
|
+
],
|
|
2419
|
+
"events": [
|
|
2214
2420
|
{
|
|
2215
|
-
"name": "
|
|
2216
|
-
"description": "
|
|
2217
|
-
"value": { "type": "'numeric' | '2-digit'" }
|
|
2421
|
+
"name": "cw-show",
|
|
2422
|
+
"description": "Emitted when the dialog opens."
|
|
2218
2423
|
},
|
|
2219
2424
|
{
|
|
2220
|
-
"name": "
|
|
2221
|
-
"description": "
|
|
2222
|
-
"value": { "type": "'numeric' | '2-digit'" }
|
|
2425
|
+
"name": "cw-after-show",
|
|
2426
|
+
"description": "Emitted after the dialog opens and all animations are complete."
|
|
2223
2427
|
},
|
|
2224
2428
|
{
|
|
2225
|
-
"name": "
|
|
2226
|
-
"description": "
|
|
2227
|
-
"value": { "type": "'numeric' | '2-digit'" }
|
|
2429
|
+
"name": "cw-hide",
|
|
2430
|
+
"description": "Emitted when the dialog closes."
|
|
2228
2431
|
},
|
|
2229
2432
|
{
|
|
2230
|
-
"name": "
|
|
2231
|
-
"description": "
|
|
2232
|
-
"value": { "type": "'numeric' | '2-digit'" }
|
|
2433
|
+
"name": "cw-after-hide",
|
|
2434
|
+
"description": "Emitted after the dialog closes and all animations are complete."
|
|
2233
2435
|
},
|
|
2234
2436
|
{
|
|
2235
|
-
"name": "
|
|
2236
|
-
"description": "
|
|
2237
|
-
"value": { "type": "'short' | 'long'" }
|
|
2437
|
+
"name": "cw-initial-focus",
|
|
2438
|
+
"description": "Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input."
|
|
2238
2439
|
},
|
|
2239
2440
|
{
|
|
2240
|
-
"name": "
|
|
2241
|
-
"
|
|
2242
|
-
"
|
|
2243
|
-
},
|
|
2244
|
-
{
|
|
2245
|
-
"name": "hour-format",
|
|
2246
|
-
"description": "The format for displaying the hour.",
|
|
2247
|
-
"value": { "type": "'auto' | '12' | '24'", "default": "'auto'" }
|
|
2441
|
+
"name": "cw-request-close",
|
|
2442
|
+
"type": "{ source: 'close-button' | 'keyboard' | 'overlay' }",
|
|
2443
|
+
"description": "Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss."
|
|
2248
2444
|
}
|
|
2249
2445
|
],
|
|
2250
|
-
"events": [],
|
|
2251
2446
|
"js": {
|
|
2252
2447
|
"properties": [
|
|
2253
2448
|
{
|
|
2254
|
-
"name": "
|
|
2255
|
-
"description": "
|
|
2256
|
-
"type": "Date | string"
|
|
2257
|
-
},
|
|
2258
|
-
{
|
|
2259
|
-
"name": "weekday",
|
|
2260
|
-
"description": "The format for displaying the weekday.",
|
|
2261
|
-
"type": "'narrow' | 'short' | 'long'"
|
|
2449
|
+
"name": "modal",
|
|
2450
|
+
"description": "Exposes the internal modal utility that controls focus trapping. To temporarily disable focus trapping and allow third-party modals spawned from an active modal, call `modal.activateExternal()` when the third-party modal opens. Upon closing, call `modal.deactivateExternal()` to restore the dialog's focus trapping."
|
|
2262
2451
|
},
|
|
2452
|
+
{ "name": "dialog", "type": "HTMLElement" },
|
|
2453
|
+
{ "name": "panel", "type": "HTMLElement" },
|
|
2454
|
+
{ "name": "overlay", "type": "HTMLElement" },
|
|
2263
2455
|
{
|
|
2264
|
-
"name": "
|
|
2265
|
-
"description": "
|
|
2266
|
-
"type": "
|
|
2456
|
+
"name": "open",
|
|
2457
|
+
"description": "Indicates whether or not the dialog is open. You can toggle this attribute to show and hide the dialog, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the dialog's open state.",
|
|
2458
|
+
"type": "boolean"
|
|
2267
2459
|
},
|
|
2268
2460
|
{
|
|
2269
|
-
"name": "
|
|
2270
|
-
"description": "The
|
|
2271
|
-
"type": "
|
|
2461
|
+
"name": "label",
|
|
2462
|
+
"description": "The dialog's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.",
|
|
2463
|
+
"type": "string"
|
|
2272
2464
|
},
|
|
2273
2465
|
{
|
|
2274
|
-
"name": "
|
|
2275
|
-
"description": "
|
|
2276
|
-
"type": "
|
|
2277
|
-
}
|
|
2466
|
+
"name": "noHeader",
|
|
2467
|
+
"description": "Disables the header. This will also remove the default close button, so please ensure you provide an easy,\naccessible way for users to dismiss the dialog.",
|
|
2468
|
+
"type": "boolean"
|
|
2469
|
+
}
|
|
2470
|
+
],
|
|
2471
|
+
"events": [
|
|
2278
2472
|
{
|
|
2279
|
-
"name": "
|
|
2280
|
-
"description": "
|
|
2281
|
-
"type": "'numeric' | '2-digit'"
|
|
2473
|
+
"name": "cw-show",
|
|
2474
|
+
"description": "Emitted when the dialog opens."
|
|
2282
2475
|
},
|
|
2283
2476
|
{
|
|
2284
|
-
"name": "
|
|
2285
|
-
"description": "
|
|
2286
|
-
"type": "'numeric' | '2-digit'"
|
|
2477
|
+
"name": "cw-after-show",
|
|
2478
|
+
"description": "Emitted after the dialog opens and all animations are complete."
|
|
2287
2479
|
},
|
|
2288
2480
|
{
|
|
2289
|
-
"name": "
|
|
2290
|
-
"description": "
|
|
2291
|
-
"type": "'numeric' | '2-digit'"
|
|
2481
|
+
"name": "cw-hide",
|
|
2482
|
+
"description": "Emitted when the dialog closes."
|
|
2292
2483
|
},
|
|
2293
2484
|
{
|
|
2294
|
-
"name": "
|
|
2295
|
-
"description": "
|
|
2296
|
-
"type": "'numeric' | '2-digit'"
|
|
2485
|
+
"name": "cw-after-hide",
|
|
2486
|
+
"description": "Emitted after the dialog closes and all animations are complete."
|
|
2297
2487
|
},
|
|
2298
2488
|
{
|
|
2299
|
-
"name": "
|
|
2300
|
-
"description": "
|
|
2301
|
-
"type": "'short' | 'long'"
|
|
2489
|
+
"name": "cw-initial-focus",
|
|
2490
|
+
"description": "Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input."
|
|
2302
2491
|
},
|
|
2303
2492
|
{
|
|
2304
|
-
"name": "
|
|
2305
|
-
"
|
|
2306
|
-
"
|
|
2307
|
-
}
|
|
2493
|
+
"name": "cw-request-close",
|
|
2494
|
+
"type": "{ source: 'close-button' | 'keyboard' | 'overlay' }",
|
|
2495
|
+
"description": "Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss."
|
|
2496
|
+
}
|
|
2497
|
+
]
|
|
2498
|
+
}
|
|
2499
|
+
},
|
|
2500
|
+
{
|
|
2501
|
+
"name": "cw-divider",
|
|
2502
|
+
"description": "Dividers are used to visually separate or group elements.\n---\n\n\n### **CSS Properties:**\n - **--color** - The color of the divider. _(default: undefined)_\n- **--width** - The width of the divider. _(default: undefined)_\n- **--spacing** - The spacing of the divider. _(default: undefined)_",
|
|
2503
|
+
"doc-url": "",
|
|
2504
|
+
"attributes": [
|
|
2505
|
+
{
|
|
2506
|
+
"name": "vertical",
|
|
2507
|
+
"description": "Draws the divider in a vertical orientation.",
|
|
2508
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2509
|
+
}
|
|
2510
|
+
],
|
|
2511
|
+
"events": [],
|
|
2512
|
+
"js": {
|
|
2513
|
+
"properties": [
|
|
2308
2514
|
{
|
|
2309
|
-
"name": "
|
|
2310
|
-
"description": "
|
|
2311
|
-
"type": "
|
|
2515
|
+
"name": "vertical",
|
|
2516
|
+
"description": "Draws the divider in a vertical orientation.",
|
|
2517
|
+
"type": "boolean"
|
|
2312
2518
|
}
|
|
2313
2519
|
],
|
|
2314
2520
|
"events": []
|
|
2315
2521
|
}
|
|
2316
2522
|
},
|
|
2317
2523
|
{
|
|
2318
|
-
"name": "cw-
|
|
2319
|
-
"description": "
|
|
2524
|
+
"name": "cw-drawer",
|
|
2525
|
+
"description": "Drawers slide in from a container to expose additional options and information.\n---\n\n\n### **Events:**\n - **cw-show** - Emitted when the drawer opens.\n- **cw-after-show** - Emitted after the drawer opens and all animations are complete.\n- **cw-hide** - Emitted when the drawer closes.\n- **cw-after-hide** - Emitted after the drawer closes and all animations are complete.\n- **cw-initial-focus** - Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **cw-request-close** - Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the drawer.\n- **hide()** - Hides the drawer\n\n### **Slots:**\n - _default_ - The drawer's main content.\n- **label** - The drawer's label. Alternatively, you can use the `label` attribute.\n- **header-actions** - Optional actions to add to the header. Works best with `<cw-icon-button>`.\n- **footer** - The drawer's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--size** - The preferred size of the drawer. This will be applied to the drawer's width or height depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens. _(default: undefined)_\n- **--header-spacing** - The amount of padding to use for the header. _(default: undefined)_\n- **--body-spacing** - The amount of padding to use for the body. _(default: undefined)_\n- **--footer-spacing** - The amount of padding to use for the footer. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the drawer.\n- **panel** - The drawer's panel (where the drawer and its content are rendered).\n- **header** - The drawer's header. This element wraps the title and header actions.\n- **header-actions** - Optional actions to add to the header. Works best with `<cw-icon-button>`.\n- **title** - The drawer's title.\n- **close-button** - The close button, an `<cw-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
|
2320
2526
|
"doc-url": "",
|
|
2321
2527
|
"attributes": [
|
|
2322
2528
|
{
|
|
2323
|
-
"name": "
|
|
2324
|
-
"description": "
|
|
2325
|
-
"value": { "type": "
|
|
2529
|
+
"name": "open",
|
|
2530
|
+
"description": "Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.",
|
|
2531
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2326
2532
|
},
|
|
2327
2533
|
{
|
|
2328
|
-
"name": "
|
|
2329
|
-
"description": "The
|
|
2534
|
+
"name": "label",
|
|
2535
|
+
"description": "The drawer's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.",
|
|
2536
|
+
"value": { "type": "string", "default": "''" }
|
|
2537
|
+
},
|
|
2538
|
+
{
|
|
2539
|
+
"name": "placement",
|
|
2540
|
+
"description": "The direction from which the drawer will open.",
|
|
2330
2541
|
"value": {
|
|
2331
|
-
"type": "'
|
|
2332
|
-
"default": "'
|
|
2542
|
+
"type": "'top' | 'end' | 'bottom' | 'start'",
|
|
2543
|
+
"default": "'end'"
|
|
2333
2544
|
}
|
|
2334
2545
|
},
|
|
2335
2546
|
{
|
|
2336
|
-
"name": "
|
|
2337
|
-
"description": "
|
|
2547
|
+
"name": "contained",
|
|
2548
|
+
"description": "By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\nits parent element, set this attribute and add `position: relative` to the parent.",
|
|
2338
2549
|
"value": { "type": "boolean", "default": "false" }
|
|
2339
2550
|
},
|
|
2340
2551
|
{
|
|
2341
|
-
"name": "
|
|
2342
|
-
"description": "
|
|
2343
|
-
"value": { "type": "
|
|
2552
|
+
"name": "no-header",
|
|
2553
|
+
"description": "Removes the header. This will also remove the default close button, so please ensure you provide an easy,\naccessible way for users to dismiss the drawer.",
|
|
2554
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2555
|
+
}
|
|
2556
|
+
],
|
|
2557
|
+
"slots": [
|
|
2558
|
+
{ "name": "", "description": "The drawer's main content." },
|
|
2559
|
+
{
|
|
2560
|
+
"name": "label",
|
|
2561
|
+
"description": "The drawer's label. Alternatively, you can use the `label` attribute."
|
|
2344
2562
|
},
|
|
2345
2563
|
{
|
|
2346
|
-
"name": "
|
|
2347
|
-
"description": "
|
|
2348
|
-
"value": {
|
|
2349
|
-
"type": "'symbol' | 'narrowSymbol' | 'code' | 'name'",
|
|
2350
|
-
"default": "'symbol'"
|
|
2351
|
-
}
|
|
2564
|
+
"name": "header-actions",
|
|
2565
|
+
"description": "Optional actions to add to the header. Works best with `<cw-icon-button>`."
|
|
2352
2566
|
},
|
|
2353
2567
|
{
|
|
2354
|
-
"name": "
|
|
2355
|
-
"description": "The
|
|
2356
|
-
|
|
2568
|
+
"name": "footer",
|
|
2569
|
+
"description": "The drawer's footer, usually one or more buttons representing various options."
|
|
2570
|
+
}
|
|
2571
|
+
],
|
|
2572
|
+
"events": [
|
|
2573
|
+
{
|
|
2574
|
+
"name": "cw-show",
|
|
2575
|
+
"description": "Emitted when the drawer opens."
|
|
2357
2576
|
},
|
|
2358
2577
|
{
|
|
2359
|
-
"name": "
|
|
2360
|
-
"description": "
|
|
2361
|
-
"value": { "type": "number" }
|
|
2578
|
+
"name": "cw-after-show",
|
|
2579
|
+
"description": "Emitted after the drawer opens and all animations are complete."
|
|
2362
2580
|
},
|
|
2363
2581
|
{
|
|
2364
|
-
"name": "
|
|
2365
|
-
"description": "
|
|
2366
|
-
"value": { "type": "number" }
|
|
2582
|
+
"name": "cw-hide",
|
|
2583
|
+
"description": "Emitted when the drawer closes."
|
|
2367
2584
|
},
|
|
2368
2585
|
{
|
|
2369
|
-
"name": "
|
|
2370
|
-
"description": "
|
|
2371
|
-
"value": { "type": "number" }
|
|
2586
|
+
"name": "cw-after-hide",
|
|
2587
|
+
"description": "Emitted after the drawer closes and all animations are complete."
|
|
2372
2588
|
},
|
|
2373
2589
|
{
|
|
2374
|
-
"name": "
|
|
2375
|
-
"description": "
|
|
2376
|
-
|
|
2590
|
+
"name": "cw-initial-focus",
|
|
2591
|
+
"description": "Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input."
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
"name": "cw-request-close",
|
|
2595
|
+
"type": "{ source: 'close-button' | 'keyboard' | 'overlay' }",
|
|
2596
|
+
"description": "Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss."
|
|
2377
2597
|
}
|
|
2378
2598
|
],
|
|
2379
|
-
"events": [],
|
|
2380
2599
|
"js": {
|
|
2381
2600
|
"properties": [
|
|
2382
2601
|
{
|
|
2383
|
-
"name": "
|
|
2384
|
-
"description": "
|
|
2385
|
-
"type": "number"
|
|
2386
|
-
},
|
|
2387
|
-
{
|
|
2388
|
-
"name": "type",
|
|
2389
|
-
"description": "The formatting style to use.",
|
|
2390
|
-
"type": "'currency' | 'decimal' | 'percent'"
|
|
2602
|
+
"name": "modal",
|
|
2603
|
+
"description": "Exposes the internal modal utility that controls focus trapping. To temporarily disable focus trapping and allow third-party modals spawned from an active modal, call `modal.activateExternal()` when the third-party modal opens. Upon closing, call `modal.deactivateExternal()` to restore the drawer's focus trapping."
|
|
2391
2604
|
},
|
|
2605
|
+
{ "name": "drawer", "type": "HTMLElement" },
|
|
2606
|
+
{ "name": "panel", "type": "HTMLElement" },
|
|
2607
|
+
{ "name": "overlay", "type": "HTMLElement" },
|
|
2392
2608
|
{
|
|
2393
|
-
"name": "
|
|
2394
|
-
"description": "
|
|
2609
|
+
"name": "open",
|
|
2610
|
+
"description": "Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.",
|
|
2395
2611
|
"type": "boolean"
|
|
2396
2612
|
},
|
|
2397
2613
|
{
|
|
2398
|
-
"name": "
|
|
2399
|
-
"description": "The
|
|
2614
|
+
"name": "label",
|
|
2615
|
+
"description": "The drawer's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.",
|
|
2400
2616
|
"type": "string"
|
|
2401
2617
|
},
|
|
2402
2618
|
{
|
|
2403
|
-
"name": "
|
|
2404
|
-
"description": "
|
|
2405
|
-
"type": "'
|
|
2619
|
+
"name": "placement",
|
|
2620
|
+
"description": "The direction from which the drawer will open.",
|
|
2621
|
+
"type": "'top' | 'end' | 'bottom' | 'start'"
|
|
2406
2622
|
},
|
|
2407
2623
|
{
|
|
2408
|
-
"name": "
|
|
2409
|
-
"description": "
|
|
2410
|
-
"type": "
|
|
2624
|
+
"name": "contained",
|
|
2625
|
+
"description": "By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\nits parent element, set this attribute and add `position: relative` to the parent.",
|
|
2626
|
+
"type": "boolean"
|
|
2411
2627
|
},
|
|
2412
2628
|
{
|
|
2413
|
-
"name": "
|
|
2414
|
-
"description": "
|
|
2415
|
-
"type": "
|
|
2629
|
+
"name": "noHeader",
|
|
2630
|
+
"description": "Removes the header. This will also remove the default close button, so please ensure you provide an easy,\naccessible way for users to dismiss the drawer.",
|
|
2631
|
+
"type": "boolean"
|
|
2632
|
+
}
|
|
2633
|
+
],
|
|
2634
|
+
"events": [
|
|
2635
|
+
{
|
|
2636
|
+
"name": "cw-show",
|
|
2637
|
+
"description": "Emitted when the drawer opens."
|
|
2416
2638
|
},
|
|
2417
2639
|
{
|
|
2418
|
-
"name": "
|
|
2419
|
-
"description": "
|
|
2420
|
-
"type": "number"
|
|
2640
|
+
"name": "cw-after-show",
|
|
2641
|
+
"description": "Emitted after the drawer opens and all animations are complete."
|
|
2421
2642
|
},
|
|
2422
2643
|
{
|
|
2423
|
-
"name": "
|
|
2424
|
-
"description": "
|
|
2425
|
-
"type": "number"
|
|
2644
|
+
"name": "cw-hide",
|
|
2645
|
+
"description": "Emitted when the drawer closes."
|
|
2426
2646
|
},
|
|
2427
2647
|
{
|
|
2428
|
-
"name": "
|
|
2429
|
-
"description": "
|
|
2430
|
-
|
|
2648
|
+
"name": "cw-after-hide",
|
|
2649
|
+
"description": "Emitted after the drawer closes and all animations are complete."
|
|
2650
|
+
},
|
|
2651
|
+
{
|
|
2652
|
+
"name": "cw-initial-focus",
|
|
2653
|
+
"description": "Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input."
|
|
2654
|
+
},
|
|
2655
|
+
{
|
|
2656
|
+
"name": "cw-request-close",
|
|
2657
|
+
"type": "{ source: 'close-button' | 'keyboard' | 'overlay' }",
|
|
2658
|
+
"description": "Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss."
|
|
2431
2659
|
}
|
|
2432
|
-
]
|
|
2433
|
-
"events": []
|
|
2660
|
+
]
|
|
2434
2661
|
}
|
|
2435
2662
|
},
|
|
2436
2663
|
{
|
|
2437
|
-
"name": "cw-
|
|
2438
|
-
"description": "
|
|
2664
|
+
"name": "cw-dropdown",
|
|
2665
|
+
"description": "Dropdowns expose additional content that \"drops down\" in a panel.\n---\n\n\n### **Events:**\n - **cw-show** - Emitted when the dropdown opens.\n- **cw-after-show** - Emitted after the dropdown opens and all animations are complete.\n- **cw-hide** - Emitted when the dropdown closes.\n- **cw-after-hide** - Emitted after the dropdown closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the dropdown panel.\n- **hide()** - Hides the dropdown panel\n- **reposition()** - Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\nis activated.\n\n### **Slots:**\n - _default_ - The dropdown's main content.\n- **trigger** - The dropdown's trigger, usually a `<cw-button>` element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<cw-popup>` element.\n- **base__popup** - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n- **trigger** - The container that wraps the trigger.\n- **panel** - The panel that gets shown when the dropdown is open.",
|
|
2439
2666
|
"doc-url": "",
|
|
2440
2667
|
"attributes": [
|
|
2441
2668
|
{
|
|
2442
|
-
"name": "
|
|
2443
|
-
"description": "
|
|
2444
|
-
"value": { "type": "
|
|
2445
|
-
},
|
|
2446
|
-
{
|
|
2447
|
-
"name": "src",
|
|
2448
|
-
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
2449
|
-
"value": { "type": "string | undefined" }
|
|
2669
|
+
"name": "open",
|
|
2670
|
+
"description": "Indicates whether or not the dropdown is open. You can toggle this attribute to show and hide the dropdown, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the dropdown's open state.",
|
|
2671
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2450
2672
|
},
|
|
2451
2673
|
{
|
|
2452
|
-
"name": "
|
|
2453
|
-
"description": "
|
|
2454
|
-
"value": {
|
|
2674
|
+
"name": "placement",
|
|
2675
|
+
"description": "The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\ninside of the viewport.",
|
|
2676
|
+
"value": {
|
|
2677
|
+
"type": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end'",
|
|
2678
|
+
"default": "'bottom-start'"
|
|
2679
|
+
}
|
|
2455
2680
|
},
|
|
2456
2681
|
{
|
|
2457
|
-
"name": "
|
|
2458
|
-
"description": "
|
|
2459
|
-
"value": { "type": "
|
|
2460
|
-
}
|
|
2461
|
-
],
|
|
2462
|
-
"events": [
|
|
2463
|
-
{
|
|
2464
|
-
"name": "cw-load",
|
|
2465
|
-
"description": "Emitted when the icon has loaded. When using `spriteSheet: true` this will not emit."
|
|
2682
|
+
"name": "disabled",
|
|
2683
|
+
"description": "Disables the dropdown so the panel will not open.",
|
|
2684
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2466
2685
|
},
|
|
2467
2686
|
{
|
|
2468
|
-
"name": "
|
|
2469
|
-
"description": "
|
|
2470
|
-
|
|
2471
|
-
],
|
|
2472
|
-
"js": {
|
|
2473
|
-
"properties": [
|
|
2474
|
-
{
|
|
2475
|
-
"name": "name",
|
|
2476
|
-
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
2477
|
-
"type": "string | undefined"
|
|
2478
|
-
},
|
|
2479
|
-
{
|
|
2480
|
-
"name": "src",
|
|
2481
|
-
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
2482
|
-
"type": "string | undefined"
|
|
2483
|
-
},
|
|
2484
|
-
{
|
|
2485
|
-
"name": "label",
|
|
2486
|
-
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
2487
|
-
"type": "string"
|
|
2488
|
-
},
|
|
2489
|
-
{
|
|
2490
|
-
"name": "library",
|
|
2491
|
-
"description": "The name of a registered custom icon library.",
|
|
2492
|
-
"type": "string"
|
|
2493
|
-
}
|
|
2494
|
-
],
|
|
2495
|
-
"events": [
|
|
2496
|
-
{
|
|
2497
|
-
"name": "cw-load",
|
|
2498
|
-
"description": "Emitted when the icon has loaded. When using `spriteSheet: true` this will not emit."
|
|
2499
|
-
},
|
|
2500
|
-
{
|
|
2501
|
-
"name": "cw-error",
|
|
2502
|
-
"description": "Emitted when the icon fails to load due to an error. When using `spriteSheet: true` this will not emit."
|
|
2503
|
-
}
|
|
2504
|
-
]
|
|
2505
|
-
}
|
|
2506
|
-
},
|
|
2507
|
-
{
|
|
2508
|
-
"name": "cw-icon-button",
|
|
2509
|
-
"description": "Icons buttons are simple, icon-only buttons that can be used for actions and in toolbars.\n---\n\n\n### **Events:**\n - **cw-blur** - Emitted when the icon button loses focus.\n- **cw-focus** - Emitted when the icon button gains focus.\n\n### **Methods:**\n - **click()** - Simulates a click on the icon button.\n- **focus(options: _FocusOptions_)** - Sets focus on the icon button.\n- **blur()** - Removes focus from the icon button.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
2510
|
-
"doc-url": "",
|
|
2511
|
-
"attributes": [
|
|
2512
|
-
{
|
|
2513
|
-
"name": "name",
|
|
2514
|
-
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
2515
|
-
"value": { "type": "string | undefined" }
|
|
2687
|
+
"name": "stay-open-on-select",
|
|
2688
|
+
"description": "By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for\ndropdowns that allow for multiple interactions.",
|
|
2689
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2516
2690
|
},
|
|
2517
2691
|
{
|
|
2518
|
-
"name": "
|
|
2519
|
-
"description": "The
|
|
2520
|
-
"value": { "type": "
|
|
2692
|
+
"name": "distance",
|
|
2693
|
+
"description": "The distance in pixels from which to offset the panel away from its trigger.",
|
|
2694
|
+
"value": { "type": "number", "default": "0" }
|
|
2521
2695
|
},
|
|
2522
2696
|
{
|
|
2523
|
-
"name": "
|
|
2524
|
-
"description": "
|
|
2525
|
-
"value": { "type": "
|
|
2697
|
+
"name": "skidding",
|
|
2698
|
+
"description": "The distance in pixels from which to offset the panel along its trigger.",
|
|
2699
|
+
"value": { "type": "number", "default": "0" }
|
|
2526
2700
|
},
|
|
2527
2701
|
{
|
|
2528
|
-
"name": "
|
|
2529
|
-
"description": "
|
|
2530
|
-
"value": { "type": "
|
|
2702
|
+
"name": "hoist",
|
|
2703
|
+
"description": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
|
|
2704
|
+
"value": { "type": "boolean", "default": "false" }
|
|
2531
2705
|
},
|
|
2532
2706
|
{
|
|
2533
|
-
"name": "
|
|
2534
|
-
"description": "
|
|
2707
|
+
"name": "sync",
|
|
2708
|
+
"description": "Syncs the popup width or height to that of the trigger element.",
|
|
2535
2709
|
"value": {
|
|
2536
|
-
"type": "'
|
|
2710
|
+
"type": "'width' | 'height' | 'both' | undefined",
|
|
2711
|
+
"default": "undefined"
|
|
2537
2712
|
}
|
|
2538
|
-
}
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
"value": { "type": "string | undefined" }
|
|
2543
|
-
},
|
|
2544
|
-
{
|
|
2545
|
-
"name": "label",
|
|
2546
|
-
"description": "A description that gets read by assistive devices. For optimal accessibility, you should always include a label\nthat describes what the icon button does.",
|
|
2547
|
-
"value": { "type": "string", "default": "''" }
|
|
2548
|
-
},
|
|
2713
|
+
}
|
|
2714
|
+
],
|
|
2715
|
+
"slots": [
|
|
2716
|
+
{ "name": "", "description": "The dropdown's main content." },
|
|
2549
2717
|
{
|
|
2550
|
-
"name": "
|
|
2551
|
-
"description": "
|
|
2552
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2718
|
+
"name": "trigger",
|
|
2719
|
+
"description": "The dropdown's trigger, usually a `<cw-button>` element."
|
|
2553
2720
|
}
|
|
2554
2721
|
],
|
|
2555
2722
|
"events": [
|
|
2556
2723
|
{
|
|
2557
|
-
"name": "cw-
|
|
2558
|
-
"description": "Emitted when the
|
|
2724
|
+
"name": "cw-show",
|
|
2725
|
+
"description": "Emitted when the dropdown opens."
|
|
2559
2726
|
},
|
|
2560
2727
|
{
|
|
2561
|
-
"name": "cw-
|
|
2562
|
-
"description": "Emitted
|
|
2728
|
+
"name": "cw-after-show",
|
|
2729
|
+
"description": "Emitted after the dropdown opens and all animations are complete."
|
|
2730
|
+
},
|
|
2731
|
+
{
|
|
2732
|
+
"name": "cw-hide",
|
|
2733
|
+
"description": "Emitted when the dropdown closes."
|
|
2734
|
+
},
|
|
2735
|
+
{
|
|
2736
|
+
"name": "cw-after-hide",
|
|
2737
|
+
"description": "Emitted after the dropdown closes and all animations are complete."
|
|
2563
2738
|
}
|
|
2564
2739
|
],
|
|
2565
2740
|
"js": {
|
|
2566
2741
|
"properties": [
|
|
2742
|
+
{ "name": "popup", "type": "CwPopup" },
|
|
2743
|
+
{ "name": "trigger", "type": "HTMLSlotElement" },
|
|
2744
|
+
{ "name": "panel", "type": "HTMLSlotElement" },
|
|
2567
2745
|
{
|
|
2568
|
-
"name": "
|
|
2569
|
-
"
|
|
2746
|
+
"name": "open",
|
|
2747
|
+
"description": "Indicates whether or not the dropdown is open. You can toggle this attribute to show and hide the dropdown, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the dropdown's open state.",
|
|
2748
|
+
"type": "boolean"
|
|
2570
2749
|
},
|
|
2571
2750
|
{
|
|
2572
|
-
"name": "
|
|
2573
|
-
"description": "The
|
|
2574
|
-
"type": "
|
|
2751
|
+
"name": "placement",
|
|
2752
|
+
"description": "The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\ninside of the viewport.",
|
|
2753
|
+
"type": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end'"
|
|
2575
2754
|
},
|
|
2576
2755
|
{
|
|
2577
|
-
"name": "
|
|
2578
|
-
"description": "
|
|
2579
|
-
"type": "
|
|
2756
|
+
"name": "disabled",
|
|
2757
|
+
"description": "Disables the dropdown so the panel will not open.",
|
|
2758
|
+
"type": "boolean"
|
|
2580
2759
|
},
|
|
2581
2760
|
{
|
|
2582
|
-
"name": "
|
|
2583
|
-
"description": "
|
|
2584
|
-
"type": "
|
|
2761
|
+
"name": "stayOpenOnSelect",
|
|
2762
|
+
"description": "By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for\ndropdowns that allow for multiple interactions.",
|
|
2763
|
+
"type": "boolean"
|
|
2585
2764
|
},
|
|
2586
2765
|
{
|
|
2587
|
-
"name": "
|
|
2588
|
-
"description": "
|
|
2589
|
-
"type": "
|
|
2766
|
+
"name": "containingElement",
|
|
2767
|
+
"description": "The dropdown will close when the user interacts outside of this element (e.g. clicking). Useful for composing other\ncomponents that use a dropdown internally.",
|
|
2768
|
+
"type": "HTMLElement | undefined"
|
|
2590
2769
|
},
|
|
2591
2770
|
{
|
|
2592
|
-
"name": "
|
|
2593
|
-
"description": "
|
|
2594
|
-
"type": "
|
|
2771
|
+
"name": "distance",
|
|
2772
|
+
"description": "The distance in pixels from which to offset the panel away from its trigger.",
|
|
2773
|
+
"type": "number"
|
|
2595
2774
|
},
|
|
2596
2775
|
{
|
|
2597
|
-
"name": "
|
|
2598
|
-
"description": "
|
|
2599
|
-
"type": "
|
|
2776
|
+
"name": "skidding",
|
|
2777
|
+
"description": "The distance in pixels from which to offset the panel along its trigger.",
|
|
2778
|
+
"type": "number"
|
|
2600
2779
|
},
|
|
2601
2780
|
{
|
|
2602
|
-
"name": "
|
|
2603
|
-
"description": "
|
|
2604
|
-
"type": "
|
|
2781
|
+
"name": "hoist",
|
|
2782
|
+
"description": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
|
|
2783
|
+
"type": "boolean"
|
|
2605
2784
|
},
|
|
2606
2785
|
{
|
|
2607
|
-
"name": "
|
|
2608
|
-
"description": "
|
|
2609
|
-
"type": "
|
|
2786
|
+
"name": "sync",
|
|
2787
|
+
"description": "Syncs the popup width or height to that of the trigger element.",
|
|
2788
|
+
"type": "'width' | 'height' | 'both' | undefined"
|
|
2610
2789
|
}
|
|
2611
2790
|
],
|
|
2612
2791
|
"events": [
|
|
2613
2792
|
{
|
|
2614
|
-
"name": "cw-
|
|
2615
|
-
"description": "Emitted when the
|
|
2793
|
+
"name": "cw-show",
|
|
2794
|
+
"description": "Emitted when the dropdown opens."
|
|
2616
2795
|
},
|
|
2617
2796
|
{
|
|
2618
|
-
"name": "cw-
|
|
2619
|
-
"description": "Emitted
|
|
2797
|
+
"name": "cw-after-show",
|
|
2798
|
+
"description": "Emitted after the dropdown opens and all animations are complete."
|
|
2799
|
+
},
|
|
2800
|
+
{
|
|
2801
|
+
"name": "cw-hide",
|
|
2802
|
+
"description": "Emitted when the dropdown closes."
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
"name": "cw-after-hide",
|
|
2806
|
+
"description": "Emitted after the dropdown closes and all animations are complete."
|
|
2620
2807
|
}
|
|
2621
2808
|
]
|
|
2622
2809
|
}
|
|
2623
2810
|
},
|
|
2624
2811
|
{
|
|
2625
|
-
"name": "cw-
|
|
2626
|
-
"description": "
|
|
2812
|
+
"name": "cw-format-bytes",
|
|
2813
|
+
"description": "Formats a number as a human readable bytes value.\n---\n",
|
|
2627
2814
|
"doc-url": "",
|
|
2628
2815
|
"attributes": [
|
|
2629
2816
|
{
|
|
2630
|
-
"name": "
|
|
2631
|
-
"description": "The
|
|
2632
|
-
"value": { "type": "number", "default": "
|
|
2633
|
-
}
|
|
2634
|
-
],
|
|
2635
|
-
"slots": [
|
|
2636
|
-
{
|
|
2637
|
-
"name": "before",
|
|
2638
|
-
"description": "The before image, an `<img>` or `<svg>` element."
|
|
2817
|
+
"name": "value",
|
|
2818
|
+
"description": "The number to format in bytes.",
|
|
2819
|
+
"value": { "type": "number", "default": "0" }
|
|
2639
2820
|
},
|
|
2640
2821
|
{
|
|
2641
|
-
"name": "
|
|
2642
|
-
"description": "The
|
|
2822
|
+
"name": "unit",
|
|
2823
|
+
"description": "The type of unit to display.",
|
|
2824
|
+
"value": { "type": "'byte' | 'bit'", "default": "'byte'" }
|
|
2643
2825
|
},
|
|
2644
2826
|
{
|
|
2645
|
-
"name": "
|
|
2646
|
-
"description": "
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
"name": "cw-change",
|
|
2652
|
-
"description": "Emitted when the position changes."
|
|
2827
|
+
"name": "display",
|
|
2828
|
+
"description": "Determines how to display the result, e.g. \"100 bytes\", \"100 b\", or \"100b\".",
|
|
2829
|
+
"value": {
|
|
2830
|
+
"type": "'long' | 'short' | 'narrow'",
|
|
2831
|
+
"default": "'short'"
|
|
2832
|
+
}
|
|
2653
2833
|
}
|
|
2654
2834
|
],
|
|
2835
|
+
"events": [],
|
|
2655
2836
|
"js": {
|
|
2656
2837
|
"properties": [
|
|
2657
|
-
{ "name": "base", "type": "HTMLElement" },
|
|
2658
|
-
{ "name": "handle", "type": "HTMLElement" },
|
|
2659
2838
|
{
|
|
2660
|
-
"name": "
|
|
2661
|
-
"description": "The
|
|
2839
|
+
"name": "value",
|
|
2840
|
+
"description": "The number to format in bytes.",
|
|
2662
2841
|
"type": "number"
|
|
2663
|
-
}
|
|
2664
|
-
],
|
|
2665
|
-
"events": [
|
|
2842
|
+
},
|
|
2666
2843
|
{
|
|
2667
|
-
"name": "
|
|
2668
|
-
"description": "
|
|
2844
|
+
"name": "unit",
|
|
2845
|
+
"description": "The type of unit to display.",
|
|
2846
|
+
"type": "'byte' | 'bit'"
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
"name": "display",
|
|
2850
|
+
"description": "Determines how to display the result, e.g. \"100 bytes\", \"100 b\", or \"100b\".",
|
|
2851
|
+
"type": "'long' | 'short' | 'narrow'"
|
|
2669
2852
|
}
|
|
2670
|
-
]
|
|
2853
|
+
],
|
|
2854
|
+
"events": []
|
|
2671
2855
|
}
|
|
2672
2856
|
},
|
|
2673
2857
|
{
|
|
2674
|
-
"name": "cw-
|
|
2675
|
-
"description": "
|
|
2858
|
+
"name": "cw-format-date",
|
|
2859
|
+
"description": "Formats a date/time using the specified locale and options.\n---\n",
|
|
2676
2860
|
"doc-url": "",
|
|
2677
2861
|
"attributes": [
|
|
2678
2862
|
{
|
|
2679
|
-
"name": "
|
|
2680
|
-
"description": "The
|
|
2681
|
-
"value": { "type": "string" }
|
|
2863
|
+
"name": "date",
|
|
2864
|
+
"description": "The date/time to format. If not set, the current date and time will be used. When passing a string, it's strongly\nrecommended to use the ISO 8601 format to ensure timezones are handled correctly. To convert a date to this format\nin JavaScript, use [`date.toISOString()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString).",
|
|
2865
|
+
"value": { "type": "Date | string", "default": "new Date()" }
|
|
2682
2866
|
},
|
|
2683
2867
|
{
|
|
2684
|
-
"name": "
|
|
2685
|
-
"description": "The
|
|
2868
|
+
"name": "weekday",
|
|
2869
|
+
"description": "The format for displaying the weekday.",
|
|
2870
|
+
"value": { "type": "'narrow' | 'short' | 'long'" }
|
|
2871
|
+
},
|
|
2872
|
+
{
|
|
2873
|
+
"name": "era",
|
|
2874
|
+
"description": "The format for displaying the era.",
|
|
2875
|
+
"value": { "type": "'narrow' | 'short' | 'long'" }
|
|
2876
|
+
},
|
|
2877
|
+
{
|
|
2878
|
+
"name": "year",
|
|
2879
|
+
"description": "The format for displaying the year.",
|
|
2880
|
+
"value": { "type": "'numeric' | '2-digit'" }
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
"name": "month",
|
|
2884
|
+
"description": "The format for displaying the month.",
|
|
2686
2885
|
"value": {
|
|
2687
|
-
"type": "'
|
|
2688
|
-
"default": "'cors'"
|
|
2886
|
+
"type": "'numeric' | '2-digit' | 'narrow' | 'short' | 'long'"
|
|
2689
2887
|
}
|
|
2690
2888
|
},
|
|
2691
2889
|
{
|
|
2692
|
-
"name": "
|
|
2693
|
-
"description": "
|
|
2694
|
-
"value": { "type": "
|
|
2695
|
-
}
|
|
2696
|
-
],
|
|
2697
|
-
"events": [
|
|
2890
|
+
"name": "day",
|
|
2891
|
+
"description": "The format for displaying the day.",
|
|
2892
|
+
"value": { "type": "'numeric' | '2-digit'" }
|
|
2893
|
+
},
|
|
2698
2894
|
{
|
|
2699
|
-
"name": "
|
|
2700
|
-
"description": "
|
|
2895
|
+
"name": "hour",
|
|
2896
|
+
"description": "The format for displaying the hour.",
|
|
2897
|
+
"value": { "type": "'numeric' | '2-digit'" }
|
|
2701
2898
|
},
|
|
2702
2899
|
{
|
|
2703
|
-
"name": "
|
|
2704
|
-
"
|
|
2705
|
-
"
|
|
2900
|
+
"name": "minute",
|
|
2901
|
+
"description": "The format for displaying the minute.",
|
|
2902
|
+
"value": { "type": "'numeric' | '2-digit'" }
|
|
2903
|
+
},
|
|
2904
|
+
{
|
|
2905
|
+
"name": "second",
|
|
2906
|
+
"description": "The format for displaying the second.",
|
|
2907
|
+
"value": { "type": "'numeric' | '2-digit'" }
|
|
2908
|
+
},
|
|
2909
|
+
{
|
|
2910
|
+
"name": "time-zone-name",
|
|
2911
|
+
"description": "The format for displaying the time.",
|
|
2912
|
+
"value": { "type": "'short' | 'long'" }
|
|
2913
|
+
},
|
|
2914
|
+
{
|
|
2915
|
+
"name": "time-zone",
|
|
2916
|
+
"description": "The time zone to express the time in.",
|
|
2917
|
+
"value": { "type": "string" }
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
"name": "hour-format",
|
|
2921
|
+
"description": "The format for displaying the hour.",
|
|
2922
|
+
"value": { "type": "'auto' | '12' | '24'", "default": "'auto'" }
|
|
2706
2923
|
}
|
|
2707
2924
|
],
|
|
2925
|
+
"events": [],
|
|
2708
2926
|
"js": {
|
|
2709
2927
|
"properties": [
|
|
2710
2928
|
{
|
|
2711
|
-
"name": "
|
|
2712
|
-
"description": "The
|
|
2713
|
-
"type": "string"
|
|
2929
|
+
"name": "date",
|
|
2930
|
+
"description": "The date/time to format. If not set, the current date and time will be used. When passing a string, it's strongly\nrecommended to use the ISO 8601 format to ensure timezones are handled correctly. To convert a date to this format\nin JavaScript, use [`date.toISOString()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString).",
|
|
2931
|
+
"type": "Date | string"
|
|
2714
2932
|
},
|
|
2715
2933
|
{
|
|
2716
|
-
"name": "
|
|
2717
|
-
"description": "The
|
|
2718
|
-
"type": "'
|
|
2934
|
+
"name": "weekday",
|
|
2935
|
+
"description": "The format for displaying the weekday.",
|
|
2936
|
+
"type": "'narrow' | 'short' | 'long'"
|
|
2719
2937
|
},
|
|
2720
2938
|
{
|
|
2721
|
-
"name": "
|
|
2722
|
-
"description": "
|
|
2723
|
-
"type": "
|
|
2724
|
-
}
|
|
2725
|
-
],
|
|
2726
|
-
"events": [
|
|
2939
|
+
"name": "era",
|
|
2940
|
+
"description": "The format for displaying the era.",
|
|
2941
|
+
"type": "'narrow' | 'short' | 'long'"
|
|
2942
|
+
},
|
|
2727
2943
|
{
|
|
2728
|
-
"name": "
|
|
2729
|
-
"description": "
|
|
2944
|
+
"name": "year",
|
|
2945
|
+
"description": "The format for displaying the year.",
|
|
2946
|
+
"type": "'numeric' | '2-digit'"
|
|
2730
2947
|
},
|
|
2731
2948
|
{
|
|
2732
|
-
"name": "
|
|
2733
|
-
"
|
|
2734
|
-
"
|
|
2949
|
+
"name": "month",
|
|
2950
|
+
"description": "The format for displaying the month.",
|
|
2951
|
+
"type": "'numeric' | '2-digit' | 'narrow' | 'short' | 'long'"
|
|
2952
|
+
},
|
|
2953
|
+
{
|
|
2954
|
+
"name": "day",
|
|
2955
|
+
"description": "The format for displaying the day.",
|
|
2956
|
+
"type": "'numeric' | '2-digit'"
|
|
2957
|
+
},
|
|
2958
|
+
{
|
|
2959
|
+
"name": "hour",
|
|
2960
|
+
"description": "The format for displaying the hour.",
|
|
2961
|
+
"type": "'numeric' | '2-digit'"
|
|
2962
|
+
},
|
|
2963
|
+
{
|
|
2964
|
+
"name": "minute",
|
|
2965
|
+
"description": "The format for displaying the minute.",
|
|
2966
|
+
"type": "'numeric' | '2-digit'"
|
|
2967
|
+
},
|
|
2968
|
+
{
|
|
2969
|
+
"name": "second",
|
|
2970
|
+
"description": "The format for displaying the second.",
|
|
2971
|
+
"type": "'numeric' | '2-digit'"
|
|
2972
|
+
},
|
|
2973
|
+
{
|
|
2974
|
+
"name": "timeZoneName",
|
|
2975
|
+
"description": "The format for displaying the time.",
|
|
2976
|
+
"type": "'short' | 'long'"
|
|
2977
|
+
},
|
|
2978
|
+
{
|
|
2979
|
+
"name": "timeZone",
|
|
2980
|
+
"description": "The time zone to express the time in.",
|
|
2981
|
+
"type": "string"
|
|
2982
|
+
},
|
|
2983
|
+
{
|
|
2984
|
+
"name": "hourFormat",
|
|
2985
|
+
"description": "The format for displaying the hour.",
|
|
2986
|
+
"type": "'auto' | '12' | '24'"
|
|
2735
2987
|
}
|
|
2736
|
-
]
|
|
2988
|
+
],
|
|
2989
|
+
"events": []
|
|
2737
2990
|
}
|
|
2738
2991
|
},
|
|
2739
2992
|
{
|
|
2740
|
-
"name": "cw-
|
|
2741
|
-
"description": "
|
|
2993
|
+
"name": "cw-format-number",
|
|
2994
|
+
"description": "Formats a number using the specified locale and options.\n---\n",
|
|
2742
2995
|
"doc-url": "",
|
|
2743
2996
|
"attributes": [
|
|
2744
|
-
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
|
2745
|
-
{
|
|
2746
|
-
"name": "type",
|
|
2747
|
-
"description": "The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.",
|
|
2748
|
-
"value": {
|
|
2749
|
-
"type": "| 'date'\n | 'datetime-local'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'time'\n | 'url'",
|
|
2750
|
-
"default": "'text'"
|
|
2751
|
-
}
|
|
2752
|
-
},
|
|
2753
|
-
{
|
|
2754
|
-
"name": "name",
|
|
2755
|
-
"description": "The name of the input, submitted as a name/value pair with form data.",
|
|
2756
|
-
"value": { "type": "string", "default": "''" }
|
|
2757
|
-
},
|
|
2758
2997
|
{
|
|
2759
2998
|
"name": "value",
|
|
2760
|
-
"description": "The
|
|
2761
|
-
"value": { "type": "
|
|
2999
|
+
"description": "The number to format.",
|
|
3000
|
+
"value": { "type": "number", "default": "0" }
|
|
2762
3001
|
},
|
|
2763
3002
|
{
|
|
2764
|
-
"name": "
|
|
2765
|
-
"description": "The
|
|
3003
|
+
"name": "type",
|
|
3004
|
+
"description": "The formatting style to use.",
|
|
2766
3005
|
"value": {
|
|
2767
|
-
"type": "'
|
|
2768
|
-
"default": "'
|
|
3006
|
+
"type": "'currency' | 'decimal' | 'percent'",
|
|
3007
|
+
"default": "'decimal'"
|
|
2769
3008
|
}
|
|
2770
3009
|
},
|
|
2771
3010
|
{
|
|
2772
|
-
"name": "
|
|
2773
|
-
"description": "
|
|
2774
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2775
|
-
},
|
|
2776
|
-
{
|
|
2777
|
-
"name": "pill",
|
|
2778
|
-
"description": "Draws a pill-style input with rounded edges.",
|
|
3011
|
+
"name": "no-grouping",
|
|
3012
|
+
"description": "Turns off grouping separators.",
|
|
2779
3013
|
"value": { "type": "boolean", "default": "false" }
|
|
2780
3014
|
},
|
|
2781
3015
|
{
|
|
2782
|
-
"name": "
|
|
2783
|
-
"description": "The
|
|
2784
|
-
"value": { "type": "string", "default": "''" }
|
|
2785
|
-
},
|
|
2786
|
-
{
|
|
2787
|
-
"name": "help-text",
|
|
2788
|
-
"description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
2789
|
-
"value": { "type": "string", "default": "''" }
|
|
3016
|
+
"name": "currency",
|
|
3017
|
+
"description": "The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code to use when formatting.",
|
|
3018
|
+
"value": { "type": "string", "default": "'USD'" }
|
|
2790
3019
|
},
|
|
2791
3020
|
{
|
|
2792
|
-
"name": "
|
|
2793
|
-
"description": "
|
|
2794
|
-
"value": {
|
|
3021
|
+
"name": "currency-display",
|
|
3022
|
+
"description": "How to display the currency.",
|
|
3023
|
+
"value": {
|
|
3024
|
+
"type": "'symbol' | 'narrowSymbol' | 'code' | 'name'",
|
|
3025
|
+
"default": "'symbol'"
|
|
3026
|
+
}
|
|
2795
3027
|
},
|
|
2796
3028
|
{
|
|
2797
|
-
"name": "
|
|
2798
|
-
"description": "
|
|
2799
|
-
"value": { "type": "
|
|
3029
|
+
"name": "minimum-integer-digits",
|
|
3030
|
+
"description": "The minimum number of integer digits to use. Possible values are 1-21.",
|
|
3031
|
+
"value": { "type": "number" }
|
|
2800
3032
|
},
|
|
2801
3033
|
{
|
|
2802
|
-
"name": "
|
|
2803
|
-
"description": "
|
|
2804
|
-
"value": { "type": "
|
|
3034
|
+
"name": "minimum-fraction-digits",
|
|
3035
|
+
"description": "The minimum number of fraction digits to use. Possible values are 0-20.",
|
|
3036
|
+
"value": { "type": "number" }
|
|
2805
3037
|
},
|
|
2806
3038
|
{
|
|
2807
|
-
"name": "
|
|
2808
|
-
"description": "
|
|
2809
|
-
"value": { "type": "
|
|
3039
|
+
"name": "maximum-fraction-digits",
|
|
3040
|
+
"description": "The maximum number of fraction digits to use. Possible values are 0-0.",
|
|
3041
|
+
"value": { "type": "number" }
|
|
2810
3042
|
},
|
|
2811
3043
|
{
|
|
2812
|
-
"name": "
|
|
2813
|
-
"description": "
|
|
2814
|
-
"value": { "type": "
|
|
3044
|
+
"name": "minimum-significant-digits",
|
|
3045
|
+
"description": "The minimum number of significant digits to use. Possible values are 1-21.",
|
|
3046
|
+
"value": { "type": "number" }
|
|
2815
3047
|
},
|
|
2816
3048
|
{
|
|
2817
|
-
"name": "
|
|
2818
|
-
"description": "
|
|
3049
|
+
"name": "maximum-significant-digits",
|
|
3050
|
+
"description": "The maximum number of significant digits to use,. Possible values are 1-21.",
|
|
3051
|
+
"value": { "type": "number" }
|
|
3052
|
+
}
|
|
3053
|
+
],
|
|
3054
|
+
"events": [],
|
|
3055
|
+
"js": {
|
|
3056
|
+
"properties": [
|
|
3057
|
+
{
|
|
3058
|
+
"name": "value",
|
|
3059
|
+
"description": "The number to format.",
|
|
3060
|
+
"type": "number"
|
|
3061
|
+
},
|
|
3062
|
+
{
|
|
3063
|
+
"name": "type",
|
|
3064
|
+
"description": "The formatting style to use.",
|
|
3065
|
+
"type": "'currency' | 'decimal' | 'percent'"
|
|
3066
|
+
},
|
|
3067
|
+
{
|
|
3068
|
+
"name": "noGrouping",
|
|
3069
|
+
"description": "Turns off grouping separators.",
|
|
3070
|
+
"type": "boolean"
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
"name": "currency",
|
|
3074
|
+
"description": "The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code to use when formatting.",
|
|
3075
|
+
"type": "string"
|
|
3076
|
+
},
|
|
3077
|
+
{
|
|
3078
|
+
"name": "currencyDisplay",
|
|
3079
|
+
"description": "How to display the currency.",
|
|
3080
|
+
"type": "'symbol' | 'narrowSymbol' | 'code' | 'name'"
|
|
3081
|
+
},
|
|
3082
|
+
{
|
|
3083
|
+
"name": "minimumIntegerDigits",
|
|
3084
|
+
"description": "The minimum number of integer digits to use. Possible values are 1-21.",
|
|
3085
|
+
"type": "number"
|
|
3086
|
+
},
|
|
3087
|
+
{
|
|
3088
|
+
"name": "minimumFractionDigits",
|
|
3089
|
+
"description": "The minimum number of fraction digits to use. Possible values are 0-20.",
|
|
3090
|
+
"type": "number"
|
|
3091
|
+
},
|
|
3092
|
+
{
|
|
3093
|
+
"name": "maximumFractionDigits",
|
|
3094
|
+
"description": "The maximum number of fraction digits to use. Possible values are 0-0.",
|
|
3095
|
+
"type": "number"
|
|
3096
|
+
},
|
|
3097
|
+
{
|
|
3098
|
+
"name": "minimumSignificantDigits",
|
|
3099
|
+
"description": "The minimum number of significant digits to use. Possible values are 1-21.",
|
|
3100
|
+
"type": "number"
|
|
3101
|
+
},
|
|
3102
|
+
{
|
|
3103
|
+
"name": "maximumSignificantDigits",
|
|
3104
|
+
"description": "The maximum number of significant digits to use,. Possible values are 1-21.",
|
|
3105
|
+
"type": "number"
|
|
3106
|
+
}
|
|
3107
|
+
],
|
|
3108
|
+
"events": []
|
|
3109
|
+
}
|
|
3110
|
+
},
|
|
3111
|
+
{
|
|
3112
|
+
"name": "cw-icon",
|
|
3113
|
+
"description": "Icons are symbols that can be used to represent various options within an application.\n---\n\n\n### **Events:**\n - **cw-load** - Emitted when the icon has loaded. When using `spriteSheet: true` this will not emit.\n- **cw-error** - Emitted when the icon fails to load due to an error. When using `spriteSheet: true` this will not emit.\n\n### **CSS Parts:**\n - **svg** - The internal SVG element.\n- **use** - The <use> element generated when using `spriteSheet: true`",
|
|
3114
|
+
"doc-url": "",
|
|
3115
|
+
"attributes": [
|
|
3116
|
+
{
|
|
3117
|
+
"name": "name",
|
|
3118
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
3119
|
+
"value": { "type": "string | undefined" }
|
|
3120
|
+
},
|
|
3121
|
+
{
|
|
3122
|
+
"name": "src",
|
|
3123
|
+
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
3124
|
+
"value": { "type": "string | undefined" }
|
|
3125
|
+
},
|
|
3126
|
+
{
|
|
3127
|
+
"name": "label",
|
|
3128
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
3129
|
+
"value": { "type": "string", "default": "''" }
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
"name": "library",
|
|
3133
|
+
"description": "The name of a registered custom icon library.",
|
|
3134
|
+
"value": { "type": "string", "default": "'default'" }
|
|
3135
|
+
}
|
|
3136
|
+
],
|
|
3137
|
+
"events": [
|
|
3138
|
+
{
|
|
3139
|
+
"name": "cw-load",
|
|
3140
|
+
"description": "Emitted when the icon has loaded. When using `spriteSheet: true` this will not emit."
|
|
3141
|
+
},
|
|
3142
|
+
{
|
|
3143
|
+
"name": "cw-error",
|
|
3144
|
+
"description": "Emitted when the icon fails to load due to an error. When using `spriteSheet: true` this will not emit."
|
|
3145
|
+
}
|
|
3146
|
+
],
|
|
3147
|
+
"js": {
|
|
3148
|
+
"properties": [
|
|
3149
|
+
{
|
|
3150
|
+
"name": "name",
|
|
3151
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
3152
|
+
"type": "string | undefined"
|
|
3153
|
+
},
|
|
3154
|
+
{
|
|
3155
|
+
"name": "src",
|
|
3156
|
+
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
3157
|
+
"type": "string | undefined"
|
|
3158
|
+
},
|
|
3159
|
+
{
|
|
3160
|
+
"name": "label",
|
|
3161
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
3162
|
+
"type": "string"
|
|
3163
|
+
},
|
|
3164
|
+
{
|
|
3165
|
+
"name": "library",
|
|
3166
|
+
"description": "The name of a registered custom icon library.",
|
|
3167
|
+
"type": "string"
|
|
3168
|
+
}
|
|
3169
|
+
],
|
|
3170
|
+
"events": [
|
|
3171
|
+
{
|
|
3172
|
+
"name": "cw-load",
|
|
3173
|
+
"description": "Emitted when the icon has loaded. When using `spriteSheet: true` this will not emit."
|
|
3174
|
+
},
|
|
3175
|
+
{
|
|
3176
|
+
"name": "cw-error",
|
|
3177
|
+
"description": "Emitted when the icon fails to load due to an error. When using `spriteSheet: true` this will not emit."
|
|
3178
|
+
}
|
|
3179
|
+
]
|
|
3180
|
+
}
|
|
3181
|
+
},
|
|
3182
|
+
{
|
|
3183
|
+
"name": "cw-icon-button",
|
|
3184
|
+
"description": "Icons buttons are simple, icon-only buttons that can be used for actions and in toolbars.\n---\n\n\n### **Events:**\n - **cw-blur** - Emitted when the icon button loses focus.\n- **cw-focus** - Emitted when the icon button gains focus.\n\n### **Methods:**\n - **click()** - Simulates a click on the icon button.\n- **focus(options: _FocusOptions_)** - Sets focus on the icon button.\n- **blur()** - Removes focus from the icon button.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
3185
|
+
"doc-url": "",
|
|
3186
|
+
"attributes": [
|
|
3187
|
+
{
|
|
3188
|
+
"name": "name",
|
|
3189
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
3190
|
+
"value": { "type": "string | undefined" }
|
|
3191
|
+
},
|
|
3192
|
+
{
|
|
3193
|
+
"name": "library",
|
|
3194
|
+
"description": "The name of a registered custom icon library.",
|
|
3195
|
+
"value": { "type": "string | undefined" }
|
|
3196
|
+
},
|
|
3197
|
+
{
|
|
3198
|
+
"name": "src",
|
|
3199
|
+
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
3200
|
+
"value": { "type": "string | undefined" }
|
|
3201
|
+
},
|
|
3202
|
+
{
|
|
3203
|
+
"name": "href",
|
|
3204
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
3205
|
+
"value": { "type": "string | undefined" }
|
|
3206
|
+
},
|
|
3207
|
+
{
|
|
3208
|
+
"name": "target",
|
|
3209
|
+
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
3210
|
+
"value": {
|
|
3211
|
+
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
3212
|
+
}
|
|
3213
|
+
},
|
|
3214
|
+
{
|
|
3215
|
+
"name": "download",
|
|
3216
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
|
|
3217
|
+
"value": { "type": "string | undefined" }
|
|
3218
|
+
},
|
|
3219
|
+
{
|
|
3220
|
+
"name": "label",
|
|
3221
|
+
"description": "A description that gets read by assistive devices. For optimal accessibility, you should always include a label\nthat describes what the icon button does.",
|
|
3222
|
+
"value": { "type": "string", "default": "''" }
|
|
3223
|
+
},
|
|
3224
|
+
{
|
|
3225
|
+
"name": "disabled",
|
|
3226
|
+
"description": "Disables the button.",
|
|
3227
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3228
|
+
}
|
|
3229
|
+
],
|
|
3230
|
+
"events": [
|
|
3231
|
+
{
|
|
3232
|
+
"name": "cw-blur",
|
|
3233
|
+
"description": "Emitted when the icon button loses focus."
|
|
3234
|
+
},
|
|
3235
|
+
{
|
|
3236
|
+
"name": "cw-focus",
|
|
3237
|
+
"description": "Emitted when the icon button gains focus."
|
|
3238
|
+
}
|
|
3239
|
+
],
|
|
3240
|
+
"js": {
|
|
3241
|
+
"properties": [
|
|
3242
|
+
{
|
|
3243
|
+
"name": "button",
|
|
3244
|
+
"type": "HTMLButtonElement | HTMLLinkElement"
|
|
3245
|
+
},
|
|
3246
|
+
{
|
|
3247
|
+
"name": "name",
|
|
3248
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
3249
|
+
"type": "string | undefined"
|
|
3250
|
+
},
|
|
3251
|
+
{
|
|
3252
|
+
"name": "library",
|
|
3253
|
+
"description": "The name of a registered custom icon library.",
|
|
3254
|
+
"type": "string | undefined"
|
|
3255
|
+
},
|
|
3256
|
+
{
|
|
3257
|
+
"name": "src",
|
|
3258
|
+
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
3259
|
+
"type": "string | undefined"
|
|
3260
|
+
},
|
|
3261
|
+
{
|
|
3262
|
+
"name": "href",
|
|
3263
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
3264
|
+
"type": "string | undefined"
|
|
3265
|
+
},
|
|
3266
|
+
{
|
|
3267
|
+
"name": "target",
|
|
3268
|
+
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
3269
|
+
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
3270
|
+
},
|
|
3271
|
+
{
|
|
3272
|
+
"name": "download",
|
|
3273
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
|
|
3274
|
+
"type": "string | undefined"
|
|
3275
|
+
},
|
|
3276
|
+
{
|
|
3277
|
+
"name": "label",
|
|
3278
|
+
"description": "A description that gets read by assistive devices. For optimal accessibility, you should always include a label\nthat describes what the icon button does.",
|
|
3279
|
+
"type": "string"
|
|
3280
|
+
},
|
|
3281
|
+
{
|
|
3282
|
+
"name": "disabled",
|
|
3283
|
+
"description": "Disables the button.",
|
|
3284
|
+
"type": "boolean"
|
|
3285
|
+
}
|
|
3286
|
+
],
|
|
3287
|
+
"events": [
|
|
3288
|
+
{
|
|
3289
|
+
"name": "cw-blur",
|
|
3290
|
+
"description": "Emitted when the icon button loses focus."
|
|
3291
|
+
},
|
|
3292
|
+
{
|
|
3293
|
+
"name": "cw-focus",
|
|
3294
|
+
"description": "Emitted when the icon button gains focus."
|
|
3295
|
+
}
|
|
3296
|
+
]
|
|
3297
|
+
}
|
|
3298
|
+
},
|
|
3299
|
+
{
|
|
3300
|
+
"name": "cw-image-comparer",
|
|
3301
|
+
"description": "Compare visual differences between similar photos with a sliding panel.\n---\n\n\n### **Events:**\n - **cw-change** - Emitted when the position changes.\n\n### **Slots:**\n - **before** - The before image, an `<img>` or `<svg>` element.\n- **after** - The after image, an `<img>` or `<svg>` element.\n- **handle** - The icon used inside the handle.\n\n### **CSS Properties:**\n - **--divider-width** - The width of the dividing line. _(default: undefined)_\n- **--handle-size** - The size of the compare handle. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **before** - The container that wraps the before image.\n- **after** - The container that wraps the after image.\n- **divider** - The divider that separates the images.\n- **handle** - The handle that the user drags to expose the after image.",
|
|
3302
|
+
"doc-url": "",
|
|
3303
|
+
"attributes": [
|
|
3304
|
+
{
|
|
3305
|
+
"name": "position",
|
|
3306
|
+
"description": "The position of the divider as a percentage.",
|
|
3307
|
+
"value": { "type": "number", "default": "50" }
|
|
3308
|
+
}
|
|
3309
|
+
],
|
|
3310
|
+
"slots": [
|
|
3311
|
+
{
|
|
3312
|
+
"name": "before",
|
|
3313
|
+
"description": "The before image, an `<img>` or `<svg>` element."
|
|
3314
|
+
},
|
|
3315
|
+
{
|
|
3316
|
+
"name": "after",
|
|
3317
|
+
"description": "The after image, an `<img>` or `<svg>` element."
|
|
3318
|
+
},
|
|
3319
|
+
{
|
|
3320
|
+
"name": "handle",
|
|
3321
|
+
"description": "The icon used inside the handle."
|
|
3322
|
+
}
|
|
3323
|
+
],
|
|
3324
|
+
"events": [
|
|
3325
|
+
{
|
|
3326
|
+
"name": "cw-change",
|
|
3327
|
+
"description": "Emitted when the position changes."
|
|
3328
|
+
}
|
|
3329
|
+
],
|
|
3330
|
+
"js": {
|
|
3331
|
+
"properties": [
|
|
3332
|
+
{ "name": "base", "type": "HTMLElement" },
|
|
3333
|
+
{ "name": "handle", "type": "HTMLElement" },
|
|
3334
|
+
{
|
|
3335
|
+
"name": "position",
|
|
3336
|
+
"description": "The position of the divider as a percentage.",
|
|
3337
|
+
"type": "number"
|
|
3338
|
+
}
|
|
3339
|
+
],
|
|
3340
|
+
"events": [
|
|
3341
|
+
{
|
|
3342
|
+
"name": "cw-change",
|
|
3343
|
+
"description": "Emitted when the position changes."
|
|
3344
|
+
}
|
|
3345
|
+
]
|
|
3346
|
+
}
|
|
3347
|
+
},
|
|
3348
|
+
{
|
|
3349
|
+
"name": "cw-include",
|
|
3350
|
+
"description": "Includes give you the power to embed external HTML files into the page.\n---\n\n\n### **Events:**\n - **cw-load** - Emitted when the included file is loaded.\n- **cw-error** - Emitted when the included file fails to load due to an error.",
|
|
3351
|
+
"doc-url": "",
|
|
3352
|
+
"attributes": [
|
|
3353
|
+
{
|
|
3354
|
+
"name": "src",
|
|
3355
|
+
"description": "The location of the HTML file to include. Be sure you trust the content you are including as it will be executed as\ncode and can result in XSS attacks.",
|
|
3356
|
+
"value": { "type": "string" }
|
|
3357
|
+
},
|
|
3358
|
+
{
|
|
3359
|
+
"name": "mode",
|
|
3360
|
+
"description": "The fetch mode to use.",
|
|
3361
|
+
"value": {
|
|
3362
|
+
"type": "'cors' | 'no-cors' | 'same-origin'",
|
|
3363
|
+
"default": "'cors'"
|
|
3364
|
+
}
|
|
3365
|
+
},
|
|
3366
|
+
{
|
|
3367
|
+
"name": "allow-scripts",
|
|
3368
|
+
"description": "Allows included scripts to be executed. Be sure you trust the content you are including as it will be executed as\ncode and can result in XSS attacks.",
|
|
3369
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3370
|
+
}
|
|
3371
|
+
],
|
|
3372
|
+
"events": [
|
|
3373
|
+
{
|
|
3374
|
+
"name": "cw-load",
|
|
3375
|
+
"description": "Emitted when the included file is loaded."
|
|
3376
|
+
},
|
|
3377
|
+
{
|
|
3378
|
+
"name": "cw-error",
|
|
3379
|
+
"type": "{ status: number }",
|
|
3380
|
+
"description": "Emitted when the included file fails to load due to an error."
|
|
3381
|
+
}
|
|
3382
|
+
],
|
|
3383
|
+
"js": {
|
|
3384
|
+
"properties": [
|
|
3385
|
+
{
|
|
3386
|
+
"name": "src",
|
|
3387
|
+
"description": "The location of the HTML file to include. Be sure you trust the content you are including as it will be executed as\ncode and can result in XSS attacks.",
|
|
3388
|
+
"type": "string"
|
|
3389
|
+
},
|
|
3390
|
+
{
|
|
3391
|
+
"name": "mode",
|
|
3392
|
+
"description": "The fetch mode to use.",
|
|
3393
|
+
"type": "'cors' | 'no-cors' | 'same-origin'"
|
|
3394
|
+
},
|
|
3395
|
+
{
|
|
3396
|
+
"name": "allowScripts",
|
|
3397
|
+
"description": "Allows included scripts to be executed. Be sure you trust the content you are including as it will be executed as\ncode and can result in XSS attacks.",
|
|
3398
|
+
"type": "boolean"
|
|
3399
|
+
}
|
|
3400
|
+
],
|
|
3401
|
+
"events": [
|
|
3402
|
+
{
|
|
3403
|
+
"name": "cw-load",
|
|
3404
|
+
"description": "Emitted when the included file is loaded."
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
"name": "cw-error",
|
|
3408
|
+
"type": "{ status: number }",
|
|
3409
|
+
"description": "Emitted when the included file fails to load due to an error."
|
|
3410
|
+
}
|
|
3411
|
+
]
|
|
3412
|
+
}
|
|
3413
|
+
},
|
|
3414
|
+
{
|
|
3415
|
+
"name": "cw-input",
|
|
3416
|
+
"description": "Inputs collect data from the user.\n---\n\n\n### **Events:**\n - **cw-blur** - Emitted when the control loses focus.\n- **cw-change** - Emitted when an alteration to the control's value is committed by the user.\n- **cw-clear** - Emitted when the clear button is activated.\n- **cw-focus** - Emitted when the control gains focus.\n- **cw-input** - Emitted when the control receives input.\n- **cw-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **showPicker()** - Displays the browser picker for an input element (only works if the browser supports it for the input type).\n- **stepUp()** - Increments the value of a numeric input type by the value of the step attribute.\n- **stepDown()** - Decrements the value of a numeric input type by the value of the step attribute.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the input.\n- **suffix** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **input** - The internal `<input>` control.\n- **prefix** - The container that wraps the prefix.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **suffix** - The container that wraps the suffix.",
|
|
3417
|
+
"doc-url": "",
|
|
3418
|
+
"attributes": [
|
|
3419
|
+
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
|
3420
|
+
{
|
|
3421
|
+
"name": "type",
|
|
3422
|
+
"description": "The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.",
|
|
3423
|
+
"value": {
|
|
3424
|
+
"type": "| 'date'\n | 'datetime-local'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'time'\n | 'url'",
|
|
3425
|
+
"default": "'text'"
|
|
3426
|
+
}
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"name": "name",
|
|
3430
|
+
"description": "The name of the input, submitted as a name/value pair with form data.",
|
|
3431
|
+
"value": { "type": "string", "default": "''" }
|
|
3432
|
+
},
|
|
3433
|
+
{
|
|
3434
|
+
"name": "value",
|
|
3435
|
+
"description": "The current value of the input, submitted as a name/value pair with form data.",
|
|
3436
|
+
"value": { "type": "string", "default": "''" }
|
|
3437
|
+
},
|
|
3438
|
+
{
|
|
3439
|
+
"name": "size",
|
|
3440
|
+
"description": "The input's size.",
|
|
3441
|
+
"value": {
|
|
3442
|
+
"type": "'small' | 'medium' | 'large'",
|
|
3443
|
+
"default": "'medium'"
|
|
3444
|
+
}
|
|
3445
|
+
},
|
|
3446
|
+
{
|
|
3447
|
+
"name": "filled",
|
|
3448
|
+
"description": "Draws a filled input.",
|
|
3449
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3450
|
+
},
|
|
3451
|
+
{
|
|
3452
|
+
"name": "pill",
|
|
3453
|
+
"description": "Draws a pill-style input with rounded edges.",
|
|
3454
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3455
|
+
},
|
|
3456
|
+
{
|
|
3457
|
+
"name": "label",
|
|
3458
|
+
"description": "The input's label. If you need to display HTML, use the `label` slot instead.",
|
|
3459
|
+
"value": { "type": "string", "default": "''" }
|
|
3460
|
+
},
|
|
3461
|
+
{
|
|
3462
|
+
"name": "help-text",
|
|
3463
|
+
"description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
3464
|
+
"value": { "type": "string", "default": "''" }
|
|
3465
|
+
},
|
|
3466
|
+
{
|
|
3467
|
+
"name": "clearable",
|
|
3468
|
+
"description": "Adds a clear button when the input is not empty.",
|
|
3469
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3470
|
+
},
|
|
3471
|
+
{
|
|
3472
|
+
"name": "disabled",
|
|
3473
|
+
"description": "Disables the input.",
|
|
3474
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3475
|
+
},
|
|
3476
|
+
{
|
|
3477
|
+
"name": "placeholder",
|
|
3478
|
+
"description": "Placeholder text to show as a hint when the input is empty.",
|
|
3479
|
+
"value": { "type": "string", "default": "''" }
|
|
3480
|
+
},
|
|
3481
|
+
{
|
|
3482
|
+
"name": "readonly",
|
|
3483
|
+
"description": "Makes the input readonly.",
|
|
3484
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3485
|
+
},
|
|
3486
|
+
{
|
|
3487
|
+
"name": "password-toggle",
|
|
3488
|
+
"description": "Adds a button to toggle the password's visibility. Only applies to password types.",
|
|
3489
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3490
|
+
},
|
|
3491
|
+
{
|
|
3492
|
+
"name": "password-visible",
|
|
3493
|
+
"description": "Determines whether or not the password is currently visible. Only applies to password input types.",
|
|
2819
3494
|
"value": { "type": "boolean", "default": "false" }
|
|
2820
3495
|
},
|
|
2821
3496
|
{
|
|
@@ -3424,6 +4099,106 @@
|
|
|
3424
4099
|
"events": []
|
|
3425
4100
|
}
|
|
3426
4101
|
},
|
|
4102
|
+
{
|
|
4103
|
+
"name": "cw-pagination",
|
|
4104
|
+
"description": "Pagination lets users navigate between pages of content.\n---\n\n\n### **Events:**\n - **cw-change** - Emitted when the current page changes as a result of user interaction.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, a `<nav>` element.\n- **pages** - The container that wraps the page buttons and ellipses.\n- **page** - An individual page button.\n- **page--active** - Applied to the page button for the current page.\n- **ellipsis** - An ellipsis shown in place of collapsed page buttons.\n- **previous-button** - The button that navigates to the previous page.\n- **next-button** - The button that navigates to the next page.",
|
|
4105
|
+
"doc-url": "",
|
|
4106
|
+
"attributes": [
|
|
4107
|
+
{
|
|
4108
|
+
"name": "total-items",
|
|
4109
|
+
"description": "The total number of items being paginated.",
|
|
4110
|
+
"value": { "type": "number", "default": "0" }
|
|
4111
|
+
},
|
|
4112
|
+
{
|
|
4113
|
+
"name": "page-size",
|
|
4114
|
+
"description": "The number of items shown per page. Used with `total-items` to determine the total number of pages.",
|
|
4115
|
+
"value": { "type": "number", "default": "10" }
|
|
4116
|
+
},
|
|
4117
|
+
{
|
|
4118
|
+
"name": "page",
|
|
4119
|
+
"description": "The current page, 1-based.",
|
|
4120
|
+
"value": { "type": "number", "default": "1" }
|
|
4121
|
+
},
|
|
4122
|
+
{
|
|
4123
|
+
"name": "sibling-count",
|
|
4124
|
+
"description": "The number of page buttons to show on either side of the current page.",
|
|
4125
|
+
"value": { "type": "number", "default": "1" }
|
|
4126
|
+
},
|
|
4127
|
+
{
|
|
4128
|
+
"name": "boundary-count",
|
|
4129
|
+
"description": "The number of page buttons to always show at the start and end of the page list.",
|
|
4130
|
+
"value": { "type": "number", "default": "1" }
|
|
4131
|
+
},
|
|
4132
|
+
{
|
|
4133
|
+
"name": "size",
|
|
4134
|
+
"description": "The pagination's size.",
|
|
4135
|
+
"value": {
|
|
4136
|
+
"type": "'small' | 'medium' | 'large'",
|
|
4137
|
+
"default": "'medium'"
|
|
4138
|
+
}
|
|
4139
|
+
},
|
|
4140
|
+
{
|
|
4141
|
+
"name": "disabled",
|
|
4142
|
+
"description": "Disables the pagination control.",
|
|
4143
|
+
"value": { "type": "boolean", "default": "false" }
|
|
4144
|
+
}
|
|
4145
|
+
],
|
|
4146
|
+
"events": [
|
|
4147
|
+
{
|
|
4148
|
+
"name": "cw-change",
|
|
4149
|
+
"description": "Emitted when the current page changes as a result of user interaction."
|
|
4150
|
+
}
|
|
4151
|
+
],
|
|
4152
|
+
"js": {
|
|
4153
|
+
"properties": [
|
|
4154
|
+
{
|
|
4155
|
+
"name": "totalItems",
|
|
4156
|
+
"description": "The total number of items being paginated.",
|
|
4157
|
+
"type": "number"
|
|
4158
|
+
},
|
|
4159
|
+
{
|
|
4160
|
+
"name": "pageSize",
|
|
4161
|
+
"description": "The number of items shown per page. Used with `total-items` to determine the total number of pages.",
|
|
4162
|
+
"type": "number"
|
|
4163
|
+
},
|
|
4164
|
+
{
|
|
4165
|
+
"name": "page",
|
|
4166
|
+
"description": "The current page, 1-based.",
|
|
4167
|
+
"type": "number"
|
|
4168
|
+
},
|
|
4169
|
+
{
|
|
4170
|
+
"name": "siblingCount",
|
|
4171
|
+
"description": "The number of page buttons to show on either side of the current page.",
|
|
4172
|
+
"type": "number"
|
|
4173
|
+
},
|
|
4174
|
+
{
|
|
4175
|
+
"name": "boundaryCount",
|
|
4176
|
+
"description": "The number of page buttons to always show at the start and end of the page list.",
|
|
4177
|
+
"type": "number"
|
|
4178
|
+
},
|
|
4179
|
+
{
|
|
4180
|
+
"name": "size",
|
|
4181
|
+
"description": "The pagination's size.",
|
|
4182
|
+
"type": "'small' | 'medium' | 'large'"
|
|
4183
|
+
},
|
|
4184
|
+
{
|
|
4185
|
+
"name": "disabled",
|
|
4186
|
+
"description": "Disables the pagination control.",
|
|
4187
|
+
"type": "boolean"
|
|
4188
|
+
},
|
|
4189
|
+
{
|
|
4190
|
+
"name": "totalPages",
|
|
4191
|
+
"description": "The total number of pages, derived from `total-items` and `page-size`."
|
|
4192
|
+
}
|
|
4193
|
+
],
|
|
4194
|
+
"events": [
|
|
4195
|
+
{
|
|
4196
|
+
"name": "cw-change",
|
|
4197
|
+
"description": "Emitted when the current page changes as a result of user interaction."
|
|
4198
|
+
}
|
|
4199
|
+
]
|
|
4200
|
+
}
|
|
4201
|
+
},
|
|
3427
4202
|
{
|
|
3428
4203
|
"name": "cw-popup",
|
|
3429
4204
|
"description": "Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n---\n\n\n### **Events:**\n - **cw-reposition** - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive operations in your listener or consider debouncing it.\n\n### **Methods:**\n - **reposition()** - Forces the popup to recalculate and reposition itself.\n\n### **Slots:**\n - _default_ - The popup's content.\n- **anchor** - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the `anchor` attribute or property instead.\n\n### **CSS Properties:**\n - **--arrow-size** - The size of the arrow. Note that an arrow won't be shown unless the `arrow` attribute is used. _(default: 6px)_\n- **--arrow-color** - The color of the arrow. _(default: var(--cw-color-neutral-0))_\n- **--auto-size-available-width** - A read-only custom property that determines the amount of width the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n- **--auto-size-available-height** - A read-only custom property that determines the amount of height the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n\n### **CSS Parts:**\n - **arrow** - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and maybe a border or box shadow.\n- **popup** - The popup's container. Useful for setting a background color, box shadow, etc.\n- **hover-bridge** - The hover bridge element. Only available when the `hover-bridge` option is enabled.",
|
|
@@ -5373,203 +6148,498 @@
|
|
|
5373
6148
|
"doc-url": "",
|
|
5374
6149
|
"attributes": [
|
|
5375
6150
|
{
|
|
5376
|
-
"name": "variant",
|
|
5377
|
-
"description": "The tag's theme variant.",
|
|
6151
|
+
"name": "variant",
|
|
6152
|
+
"description": "The tag's theme variant.",
|
|
6153
|
+
"value": {
|
|
6154
|
+
"type": "'primary' | 'success' | 'neutral' | 'warning' | 'danger' | 'text'",
|
|
6155
|
+
"default": "'neutral'"
|
|
6156
|
+
}
|
|
6157
|
+
},
|
|
6158
|
+
{
|
|
6159
|
+
"name": "size",
|
|
6160
|
+
"description": "The tag's size.",
|
|
6161
|
+
"value": {
|
|
6162
|
+
"type": "'small' | 'medium' | 'large'",
|
|
6163
|
+
"default": "'medium'"
|
|
6164
|
+
}
|
|
6165
|
+
},
|
|
6166
|
+
{
|
|
6167
|
+
"name": "pill",
|
|
6168
|
+
"description": "Draws a pill-style tag with rounded edges.",
|
|
6169
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6170
|
+
},
|
|
6171
|
+
{
|
|
6172
|
+
"name": "removable",
|
|
6173
|
+
"description": "Makes the tag removable and shows a remove button.",
|
|
6174
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6175
|
+
}
|
|
6176
|
+
],
|
|
6177
|
+
"slots": [{ "name": "", "description": "The tag's content." }],
|
|
6178
|
+
"events": [
|
|
6179
|
+
{
|
|
6180
|
+
"name": "cw-remove",
|
|
6181
|
+
"description": "Emitted when the remove button is activated."
|
|
6182
|
+
}
|
|
6183
|
+
],
|
|
6184
|
+
"js": {
|
|
6185
|
+
"properties": [
|
|
6186
|
+
{
|
|
6187
|
+
"name": "variant",
|
|
6188
|
+
"description": "The tag's theme variant.",
|
|
6189
|
+
"type": "'primary' | 'success' | 'neutral' | 'warning' | 'danger' | 'text'"
|
|
6190
|
+
},
|
|
6191
|
+
{
|
|
6192
|
+
"name": "size",
|
|
6193
|
+
"description": "The tag's size.",
|
|
6194
|
+
"type": "'small' | 'medium' | 'large'"
|
|
6195
|
+
},
|
|
6196
|
+
{
|
|
6197
|
+
"name": "pill",
|
|
6198
|
+
"description": "Draws a pill-style tag with rounded edges.",
|
|
6199
|
+
"type": "boolean"
|
|
6200
|
+
},
|
|
6201
|
+
{
|
|
6202
|
+
"name": "removable",
|
|
6203
|
+
"description": "Makes the tag removable and shows a remove button.",
|
|
6204
|
+
"type": "boolean"
|
|
6205
|
+
}
|
|
6206
|
+
],
|
|
6207
|
+
"events": [
|
|
6208
|
+
{
|
|
6209
|
+
"name": "cw-remove",
|
|
6210
|
+
"description": "Emitted when the remove button is activated."
|
|
6211
|
+
}
|
|
6212
|
+
]
|
|
6213
|
+
}
|
|
6214
|
+
},
|
|
6215
|
+
{
|
|
6216
|
+
"name": "cw-textarea",
|
|
6217
|
+
"description": "Textareas collect data from the user and allow multiple lines of text.\n---\n\n\n### **Events:**\n - **cw-blur** - Emitted when the control loses focus.\n- **cw-change** - Emitted when an alteration to the control's value is committed by the user.\n- **cw-focus** - Emitted when the control gains focus.\n- **cw-input** - Emitted when the control receives input.\n- **cw-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the textarea.\n- **blur()** - Removes focus from the textarea.\n- **select()** - Selects all the text in the textarea.\n- **scrollPosition(position: _{ top?: number; left?: number }_): _{ top: number; left: number } | undefined_** - Gets or sets the textarea's scroll position.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The textarea's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **textarea** - The internal `<textarea>` control.",
|
|
6218
|
+
"doc-url": "",
|
|
6219
|
+
"attributes": [
|
|
6220
|
+
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
|
6221
|
+
{
|
|
6222
|
+
"name": "name",
|
|
6223
|
+
"description": "The name of the textarea, submitted as a name/value pair with form data.",
|
|
6224
|
+
"value": { "type": "string", "default": "''" }
|
|
6225
|
+
},
|
|
6226
|
+
{
|
|
6227
|
+
"name": "value",
|
|
6228
|
+
"description": "The current value of the textarea, submitted as a name/value pair with form data.",
|
|
6229
|
+
"value": { "type": "string", "default": "''" }
|
|
6230
|
+
},
|
|
6231
|
+
{
|
|
6232
|
+
"name": "size",
|
|
6233
|
+
"description": "The textarea's size.",
|
|
6234
|
+
"value": {
|
|
6235
|
+
"type": "'small' | 'medium' | 'large'",
|
|
6236
|
+
"default": "'medium'"
|
|
6237
|
+
}
|
|
6238
|
+
},
|
|
6239
|
+
{
|
|
6240
|
+
"name": "filled",
|
|
6241
|
+
"description": "Draws a filled textarea.",
|
|
6242
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6243
|
+
},
|
|
6244
|
+
{
|
|
6245
|
+
"name": "label",
|
|
6246
|
+
"description": "The textarea's label. If you need to display HTML, use the `label` slot instead.",
|
|
6247
|
+
"value": { "type": "string", "default": "''" }
|
|
6248
|
+
},
|
|
6249
|
+
{
|
|
6250
|
+
"name": "help-text",
|
|
6251
|
+
"description": "The textarea's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
6252
|
+
"value": { "type": "string", "default": "''" }
|
|
6253
|
+
},
|
|
6254
|
+
{
|
|
6255
|
+
"name": "placeholder",
|
|
6256
|
+
"description": "Placeholder text to show as a hint when the input is empty.",
|
|
6257
|
+
"value": { "type": "string", "default": "''" }
|
|
6258
|
+
},
|
|
6259
|
+
{
|
|
6260
|
+
"name": "rows",
|
|
6261
|
+
"description": "The number of rows to display by default.",
|
|
6262
|
+
"value": { "type": "number", "default": "4" }
|
|
6263
|
+
},
|
|
6264
|
+
{
|
|
6265
|
+
"name": "resize",
|
|
6266
|
+
"description": "Controls how the textarea can be resized.",
|
|
6267
|
+
"value": {
|
|
6268
|
+
"type": "'none' | 'vertical' | 'auto'",
|
|
6269
|
+
"default": "'vertical'"
|
|
6270
|
+
}
|
|
6271
|
+
},
|
|
6272
|
+
{
|
|
6273
|
+
"name": "disabled",
|
|
6274
|
+
"description": "Disables the textarea.",
|
|
6275
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6276
|
+
},
|
|
6277
|
+
{
|
|
6278
|
+
"name": "readonly",
|
|
6279
|
+
"description": "Makes the textarea readonly.",
|
|
6280
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6281
|
+
},
|
|
6282
|
+
{
|
|
6283
|
+
"name": "form",
|
|
6284
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
6285
|
+
"value": { "type": "string", "default": "''" }
|
|
6286
|
+
},
|
|
6287
|
+
{
|
|
6288
|
+
"name": "required",
|
|
6289
|
+
"description": "Makes the textarea a required field.",
|
|
6290
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6291
|
+
},
|
|
6292
|
+
{
|
|
6293
|
+
"name": "minlength",
|
|
6294
|
+
"description": "The minimum length of input that will be considered valid.",
|
|
6295
|
+
"value": { "type": "number" }
|
|
6296
|
+
},
|
|
6297
|
+
{
|
|
6298
|
+
"name": "maxlength",
|
|
6299
|
+
"description": "The maximum length of input that will be considered valid.",
|
|
6300
|
+
"value": { "type": "number" }
|
|
6301
|
+
},
|
|
6302
|
+
{
|
|
6303
|
+
"name": "autocapitalize",
|
|
6304
|
+
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
5378
6305
|
"value": {
|
|
5379
|
-
"type": "'
|
|
5380
|
-
"default": "'neutral'"
|
|
6306
|
+
"type": "'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'"
|
|
5381
6307
|
}
|
|
5382
6308
|
},
|
|
5383
6309
|
{
|
|
5384
|
-
"name": "
|
|
5385
|
-
"description": "
|
|
6310
|
+
"name": "autocorrect",
|
|
6311
|
+
"description": "Indicates whether the browser's autocorrect feature is on or off.\n\nTyped as `any` because TS's DOM lib mistypes `HTMLElement.autocorrect` as `boolean`, but the HTML attribute\nactually accepts 'on'/'off' strings, which would otherwise create an unfixable override conflict.",
|
|
6312
|
+
"value": { "type": "any" }
|
|
6313
|
+
},
|
|
6314
|
+
{
|
|
6315
|
+
"name": "autocomplete",
|
|
6316
|
+
"description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
|
|
6317
|
+
"value": { "type": "string" }
|
|
6318
|
+
},
|
|
6319
|
+
{
|
|
6320
|
+
"name": "autofocus",
|
|
6321
|
+
"description": "Indicates that the input should receive focus on page load.",
|
|
6322
|
+
"value": { "type": "boolean" }
|
|
6323
|
+
},
|
|
6324
|
+
{
|
|
6325
|
+
"name": "enterkeyhint",
|
|
6326
|
+
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
5386
6327
|
"value": {
|
|
5387
|
-
"type": "'
|
|
5388
|
-
"default": "'medium'"
|
|
6328
|
+
"type": "'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'"
|
|
5389
6329
|
}
|
|
5390
6330
|
},
|
|
5391
6331
|
{
|
|
5392
|
-
"name": "
|
|
5393
|
-
"description": "
|
|
5394
|
-
"value": { "type": "boolean", "default": "
|
|
6332
|
+
"name": "spellcheck",
|
|
6333
|
+
"description": "Enables spell checking on the textarea.",
|
|
6334
|
+
"value": { "type": "boolean", "default": "true" }
|
|
5395
6335
|
},
|
|
5396
6336
|
{
|
|
5397
|
-
"name": "
|
|
5398
|
-
"description": "
|
|
5399
|
-
"value": {
|
|
6337
|
+
"name": "inputmode",
|
|
6338
|
+
"description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
|
|
6339
|
+
"value": {
|
|
6340
|
+
"type": "'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'"
|
|
6341
|
+
}
|
|
6342
|
+
}
|
|
6343
|
+
],
|
|
6344
|
+
"slots": [
|
|
6345
|
+
{
|
|
6346
|
+
"name": "label",
|
|
6347
|
+
"description": "The textarea's label. Alternatively, you can use the `label` attribute."
|
|
6348
|
+
},
|
|
6349
|
+
{
|
|
6350
|
+
"name": "help-text",
|
|
6351
|
+
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute."
|
|
5400
6352
|
}
|
|
5401
6353
|
],
|
|
5402
|
-
"slots": [{ "name": "", "description": "The tag's content." }],
|
|
5403
6354
|
"events": [
|
|
5404
6355
|
{
|
|
5405
|
-
"name": "cw-
|
|
5406
|
-
"description": "Emitted when the
|
|
6356
|
+
"name": "cw-blur",
|
|
6357
|
+
"description": "Emitted when the control loses focus."
|
|
6358
|
+
},
|
|
6359
|
+
{
|
|
6360
|
+
"name": "cw-change",
|
|
6361
|
+
"description": "Emitted when an alteration to the control's value is committed by the user."
|
|
6362
|
+
},
|
|
6363
|
+
{
|
|
6364
|
+
"name": "cw-focus",
|
|
6365
|
+
"description": "Emitted when the control gains focus."
|
|
6366
|
+
},
|
|
6367
|
+
{
|
|
6368
|
+
"name": "cw-input",
|
|
6369
|
+
"description": "Emitted when the control receives input."
|
|
6370
|
+
},
|
|
6371
|
+
{
|
|
6372
|
+
"name": "cw-invalid",
|
|
6373
|
+
"description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied."
|
|
5407
6374
|
}
|
|
5408
6375
|
],
|
|
5409
6376
|
"js": {
|
|
5410
6377
|
"properties": [
|
|
6378
|
+
{ "name": "input", "type": "HTMLTextAreaElement" },
|
|
6379
|
+
{ "name": "sizeAdjuster", "type": "HTMLTextAreaElement" },
|
|
6380
|
+
{ "name": "title", "type": "string" },
|
|
5411
6381
|
{
|
|
5412
|
-
"name": "
|
|
5413
|
-
"description": "The
|
|
5414
|
-
"type": "
|
|
6382
|
+
"name": "name",
|
|
6383
|
+
"description": "The name of the textarea, submitted as a name/value pair with form data.",
|
|
6384
|
+
"type": "string"
|
|
6385
|
+
},
|
|
6386
|
+
{
|
|
6387
|
+
"name": "value",
|
|
6388
|
+
"description": "The current value of the textarea, submitted as a name/value pair with form data.",
|
|
6389
|
+
"type": "string"
|
|
5415
6390
|
},
|
|
5416
6391
|
{
|
|
5417
6392
|
"name": "size",
|
|
5418
|
-
"description": "The
|
|
6393
|
+
"description": "The textarea's size.",
|
|
5419
6394
|
"type": "'small' | 'medium' | 'large'"
|
|
5420
6395
|
},
|
|
5421
6396
|
{
|
|
5422
|
-
"name": "
|
|
5423
|
-
"description": "Draws a
|
|
6397
|
+
"name": "filled",
|
|
6398
|
+
"description": "Draws a filled textarea.",
|
|
5424
6399
|
"type": "boolean"
|
|
5425
6400
|
},
|
|
5426
6401
|
{
|
|
5427
|
-
"name": "
|
|
5428
|
-
"description": "
|
|
6402
|
+
"name": "label",
|
|
6403
|
+
"description": "The textarea's label. If you need to display HTML, use the `label` slot instead.",
|
|
6404
|
+
"type": "string"
|
|
6405
|
+
},
|
|
6406
|
+
{
|
|
6407
|
+
"name": "helpText",
|
|
6408
|
+
"description": "The textarea's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
6409
|
+
"type": "string"
|
|
6410
|
+
},
|
|
6411
|
+
{
|
|
6412
|
+
"name": "placeholder",
|
|
6413
|
+
"description": "Placeholder text to show as a hint when the input is empty.",
|
|
6414
|
+
"type": "string"
|
|
6415
|
+
},
|
|
6416
|
+
{
|
|
6417
|
+
"name": "rows",
|
|
6418
|
+
"description": "The number of rows to display by default.",
|
|
6419
|
+
"type": "number"
|
|
6420
|
+
},
|
|
6421
|
+
{
|
|
6422
|
+
"name": "resize",
|
|
6423
|
+
"description": "Controls how the textarea can be resized.",
|
|
6424
|
+
"type": "'none' | 'vertical' | 'auto'"
|
|
6425
|
+
},
|
|
6426
|
+
{
|
|
6427
|
+
"name": "disabled",
|
|
6428
|
+
"description": "Disables the textarea.",
|
|
6429
|
+
"type": "boolean"
|
|
6430
|
+
},
|
|
6431
|
+
{
|
|
6432
|
+
"name": "readonly",
|
|
6433
|
+
"description": "Makes the textarea readonly.",
|
|
6434
|
+
"type": "boolean"
|
|
6435
|
+
},
|
|
6436
|
+
{
|
|
6437
|
+
"name": "form",
|
|
6438
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
6439
|
+
"type": "string"
|
|
6440
|
+
},
|
|
6441
|
+
{
|
|
6442
|
+
"name": "required",
|
|
6443
|
+
"description": "Makes the textarea a required field.",
|
|
6444
|
+
"type": "boolean"
|
|
6445
|
+
},
|
|
6446
|
+
{
|
|
6447
|
+
"name": "minlength",
|
|
6448
|
+
"description": "The minimum length of input that will be considered valid.",
|
|
6449
|
+
"type": "number"
|
|
6450
|
+
},
|
|
6451
|
+
{
|
|
6452
|
+
"name": "maxlength",
|
|
6453
|
+
"description": "The maximum length of input that will be considered valid.",
|
|
6454
|
+
"type": "number"
|
|
6455
|
+
},
|
|
6456
|
+
{
|
|
6457
|
+
"name": "autocapitalize",
|
|
6458
|
+
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
6459
|
+
"type": "'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'"
|
|
6460
|
+
},
|
|
6461
|
+
{
|
|
6462
|
+
"name": "autocorrect",
|
|
6463
|
+
"description": "Indicates whether the browser's autocorrect feature is on or off.\n\nTyped as `any` because TS's DOM lib mistypes `HTMLElement.autocorrect` as `boolean`, but the HTML attribute\nactually accepts 'on'/'off' strings, which would otherwise create an unfixable override conflict.",
|
|
6464
|
+
"type": "any"
|
|
6465
|
+
},
|
|
6466
|
+
{
|
|
6467
|
+
"name": "autocomplete",
|
|
6468
|
+
"description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
|
|
6469
|
+
"type": "string"
|
|
6470
|
+
},
|
|
6471
|
+
{
|
|
6472
|
+
"name": "autofocus",
|
|
6473
|
+
"description": "Indicates that the input should receive focus on page load.",
|
|
6474
|
+
"type": "boolean"
|
|
6475
|
+
},
|
|
6476
|
+
{
|
|
6477
|
+
"name": "enterkeyhint",
|
|
6478
|
+
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
6479
|
+
"type": "'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'"
|
|
6480
|
+
},
|
|
6481
|
+
{
|
|
6482
|
+
"name": "spellcheck",
|
|
6483
|
+
"description": "Enables spell checking on the textarea.",
|
|
5429
6484
|
"type": "boolean"
|
|
6485
|
+
},
|
|
6486
|
+
{
|
|
6487
|
+
"name": "inputmode",
|
|
6488
|
+
"description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
|
|
6489
|
+
"type": "'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'"
|
|
6490
|
+
},
|
|
6491
|
+
{
|
|
6492
|
+
"name": "defaultValue",
|
|
6493
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
6494
|
+
"type": "string"
|
|
6495
|
+
},
|
|
6496
|
+
{
|
|
6497
|
+
"name": "validity",
|
|
6498
|
+
"description": "Gets the validity state object"
|
|
6499
|
+
},
|
|
6500
|
+
{
|
|
6501
|
+
"name": "validationMessage",
|
|
6502
|
+
"description": "Gets the validation message"
|
|
5430
6503
|
}
|
|
5431
6504
|
],
|
|
5432
6505
|
"events": [
|
|
5433
6506
|
{
|
|
5434
|
-
"name": "cw-
|
|
5435
|
-
"description": "Emitted when the
|
|
6507
|
+
"name": "cw-blur",
|
|
6508
|
+
"description": "Emitted when the control loses focus."
|
|
6509
|
+
},
|
|
6510
|
+
{
|
|
6511
|
+
"name": "cw-change",
|
|
6512
|
+
"description": "Emitted when an alteration to the control's value is committed by the user."
|
|
6513
|
+
},
|
|
6514
|
+
{
|
|
6515
|
+
"name": "cw-focus",
|
|
6516
|
+
"description": "Emitted when the control gains focus."
|
|
6517
|
+
},
|
|
6518
|
+
{
|
|
6519
|
+
"name": "cw-input",
|
|
6520
|
+
"description": "Emitted when the control receives input."
|
|
6521
|
+
},
|
|
6522
|
+
{
|
|
6523
|
+
"name": "cw-invalid",
|
|
6524
|
+
"description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied."
|
|
5436
6525
|
}
|
|
5437
6526
|
]
|
|
5438
6527
|
}
|
|
5439
6528
|
},
|
|
5440
6529
|
{
|
|
5441
|
-
"name": "cw-
|
|
5442
|
-
"description": "
|
|
6530
|
+
"name": "cw-time-picker",
|
|
6531
|
+
"description": "Time pickers let users select a time from a set of predefined hour, minute, second, and meridiem columns.\n---\n\n\n### **Events:**\n - **cw-change** - Emitted when the control's value changes.\n- **cw-clear** - Emitted when the control's value is cleared.\n- **cw-input** - Emitted when the control receives input.\n- **cw-focus** - Emitted when the control gains focus.\n- **cw-blur** - Emitted when the control loses focus.\n- **cw-show** - Emitted when the time picker's listbox opens.\n- **cw-after-show** - Emitted after the time picker's listbox opens and all animations are complete.\n- **cw-hide** - Emitted when the time picker's listbox closes.\n- **cw-after-hide** - Emitted after the time picker's listbox closes and all animations are complete.\n- **cw-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the combobox.\n- **suffix** - Used to append a presentational icon or similar element to the combobox.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The time picker's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container the wraps the prefix, suffix, display input, clear icon, and expand icon.\n- **prefix** - The container that wraps the prefix slot.\n- **suffix** - The container that wraps the suffix slot.\n- **display-input** - The element that displays the selected time, an `<input>` element.\n- **listbox** - The listbox container where the hour/minute/second/meridiem columns are rendered.\n- **column** - One of the listbox's columns.\n- **option** - An individual option within a column.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
|
|
5443
6532
|
"doc-url": "",
|
|
5444
6533
|
"attributes": [
|
|
5445
|
-
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
|
5446
6534
|
{
|
|
5447
6535
|
"name": "name",
|
|
5448
|
-
"description": "The name of the
|
|
5449
|
-
"value": { "type": "string", "default": "''" }
|
|
5450
|
-
},
|
|
5451
|
-
{
|
|
5452
|
-
"name": "value",
|
|
5453
|
-
"description": "The current value of the textarea, submitted as a name/value pair with form data.",
|
|
5454
|
-
"value": { "type": "string", "default": "''" }
|
|
5455
|
-
},
|
|
5456
|
-
{
|
|
5457
|
-
"name": "size",
|
|
5458
|
-
"description": "The textarea's size.",
|
|
5459
|
-
"value": {
|
|
5460
|
-
"type": "'small' | 'medium' | 'large'",
|
|
5461
|
-
"default": "'medium'"
|
|
5462
|
-
}
|
|
5463
|
-
},
|
|
5464
|
-
{
|
|
5465
|
-
"name": "filled",
|
|
5466
|
-
"description": "Draws a filled textarea.",
|
|
5467
|
-
"value": { "type": "boolean", "default": "false" }
|
|
5468
|
-
},
|
|
5469
|
-
{
|
|
5470
|
-
"name": "label",
|
|
5471
|
-
"description": "The textarea's label. If you need to display HTML, use the `label` slot instead.",
|
|
6536
|
+
"description": "The name of the time picker, submitted as a name/value pair with form data.",
|
|
5472
6537
|
"value": { "type": "string", "default": "''" }
|
|
5473
6538
|
},
|
|
5474
6539
|
{
|
|
5475
|
-
"name": "
|
|
5476
|
-
"description": "The
|
|
6540
|
+
"name": "value",
|
|
6541
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
5477
6542
|
"value": { "type": "string", "default": "''" }
|
|
5478
6543
|
},
|
|
5479
6544
|
{
|
|
5480
|
-
"name": "
|
|
5481
|
-
"description": "
|
|
5482
|
-
"value": { "type": "
|
|
6545
|
+
"name": "granularity",
|
|
6546
|
+
"description": "The smallest unit of time the picker allows the user to set.",
|
|
6547
|
+
"value": { "type": "TimeGranularity", "default": "'minute'" }
|
|
5483
6548
|
},
|
|
5484
6549
|
{
|
|
5485
|
-
"name": "
|
|
5486
|
-
"description": "The
|
|
5487
|
-
"value": { "type": "
|
|
6550
|
+
"name": "hour-format",
|
|
6551
|
+
"description": "The hour format to use. When `auto`, the format is determined by the page's locale. When `12`, hours are shown from\n1-12 alongside an AM/PM column. When `24`, hours are shown from 00-23.",
|
|
6552
|
+
"value": { "type": "HourFormat", "default": "'auto'" }
|
|
5488
6553
|
},
|
|
5489
6554
|
{
|
|
5490
|
-
"name": "
|
|
5491
|
-
"description": "
|
|
6555
|
+
"name": "size",
|
|
6556
|
+
"description": "The time picker's size.",
|
|
5492
6557
|
"value": {
|
|
5493
|
-
"type": "'
|
|
5494
|
-
"default": "'
|
|
6558
|
+
"type": "'small' | 'medium' | 'large'",
|
|
6559
|
+
"default": "'medium'"
|
|
5495
6560
|
}
|
|
5496
6561
|
},
|
|
5497
6562
|
{
|
|
5498
|
-
"name": "
|
|
5499
|
-
"description": "
|
|
5500
|
-
"value": { "type": "
|
|
6563
|
+
"name": "placeholder",
|
|
6564
|
+
"description": "Placeholder text to show as a hint when the time picker is empty.",
|
|
6565
|
+
"value": { "type": "string", "default": "''" }
|
|
5501
6566
|
},
|
|
5502
6567
|
{
|
|
5503
|
-
"name": "
|
|
5504
|
-
"description": "
|
|
6568
|
+
"name": "disabled",
|
|
6569
|
+
"description": "Disables the time picker.",
|
|
5505
6570
|
"value": { "type": "boolean", "default": "false" }
|
|
5506
6571
|
},
|
|
5507
6572
|
{
|
|
5508
|
-
"name": "
|
|
5509
|
-
"description": "
|
|
5510
|
-
"value": { "type": "string", "default": "''" }
|
|
5511
|
-
},
|
|
5512
|
-
{
|
|
5513
|
-
"name": "required",
|
|
5514
|
-
"description": "Makes the textarea a required field.",
|
|
6573
|
+
"name": "clearable",
|
|
6574
|
+
"description": "Adds a clear button when the time picker is not empty.",
|
|
5515
6575
|
"value": { "type": "boolean", "default": "false" }
|
|
5516
6576
|
},
|
|
5517
6577
|
{
|
|
5518
|
-
"name": "
|
|
5519
|
-
"description": "
|
|
5520
|
-
"value": { "type": "
|
|
6578
|
+
"name": "open",
|
|
6579
|
+
"description": "Indicates whether or not the time picker is open. You can toggle this attribute to show and hide the listbox, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the time picker's open state.",
|
|
6580
|
+
"value": { "type": "boolean", "default": "false" }
|
|
5521
6581
|
},
|
|
5522
6582
|
{
|
|
5523
|
-
"name": "
|
|
5524
|
-
"description": "
|
|
5525
|
-
"value": { "type": "
|
|
6583
|
+
"name": "hoist",
|
|
6584
|
+
"description": "Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
|
|
6585
|
+
"value": { "type": "boolean", "default": "false" }
|
|
5526
6586
|
},
|
|
5527
6587
|
{
|
|
5528
|
-
"name": "
|
|
5529
|
-
"description": "
|
|
5530
|
-
"value": {
|
|
5531
|
-
"type": "'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'"
|
|
5532
|
-
}
|
|
6588
|
+
"name": "filled",
|
|
6589
|
+
"description": "Draws a filled time picker.",
|
|
6590
|
+
"value": { "type": "boolean", "default": "false" }
|
|
5533
6591
|
},
|
|
5534
6592
|
{
|
|
5535
|
-
"name": "
|
|
5536
|
-
"description": "
|
|
5537
|
-
"value": { "type": "
|
|
6593
|
+
"name": "pill",
|
|
6594
|
+
"description": "Draws a pill-style time picker with rounded edges.",
|
|
6595
|
+
"value": { "type": "boolean", "default": "false" }
|
|
5538
6596
|
},
|
|
5539
6597
|
{
|
|
5540
|
-
"name": "
|
|
5541
|
-
"description": "
|
|
5542
|
-
"value": { "type": "string" }
|
|
6598
|
+
"name": "label",
|
|
6599
|
+
"description": "The time picker's label. If you need to display HTML, use the `label` slot instead.",
|
|
6600
|
+
"value": { "type": "string", "default": "''" }
|
|
5543
6601
|
},
|
|
5544
6602
|
{
|
|
5545
|
-
"name": "
|
|
5546
|
-
"description": "
|
|
5547
|
-
"value": { "type": "
|
|
6603
|
+
"name": "placement",
|
|
6604
|
+
"description": "The preferred placement of the time picker's listbox. Note that the actual placement may vary as needed to keep the\nlistbox inside of the viewport.",
|
|
6605
|
+
"value": { "type": "'top' | 'bottom'", "default": "'bottom'" }
|
|
5548
6606
|
},
|
|
5549
6607
|
{
|
|
5550
|
-
"name": "
|
|
5551
|
-
"description": "
|
|
5552
|
-
"value": {
|
|
5553
|
-
"type": "'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'"
|
|
5554
|
-
}
|
|
6608
|
+
"name": "help-text",
|
|
6609
|
+
"description": "The time picker's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
6610
|
+
"value": { "type": "string", "default": "''" }
|
|
5555
6611
|
},
|
|
5556
6612
|
{
|
|
5557
|
-
"name": "
|
|
5558
|
-
"description": "
|
|
5559
|
-
"value": { "type": "
|
|
6613
|
+
"name": "form",
|
|
6614
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
6615
|
+
"value": { "type": "string", "default": "''" }
|
|
5560
6616
|
},
|
|
5561
6617
|
{
|
|
5562
|
-
"name": "
|
|
5563
|
-
"description": "
|
|
5564
|
-
"value": {
|
|
5565
|
-
"type": "'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'"
|
|
5566
|
-
}
|
|
6618
|
+
"name": "required",
|
|
6619
|
+
"description": "The time picker's required attribute.",
|
|
6620
|
+
"value": { "type": "boolean", "default": "false" }
|
|
5567
6621
|
}
|
|
5568
6622
|
],
|
|
5569
6623
|
"slots": [
|
|
5570
6624
|
{
|
|
5571
6625
|
"name": "label",
|
|
5572
|
-
"description": "The
|
|
6626
|
+
"description": "The input's label. Alternatively, you can use the `label` attribute."
|
|
6627
|
+
},
|
|
6628
|
+
{
|
|
6629
|
+
"name": "prefix",
|
|
6630
|
+
"description": "Used to prepend a presentational icon or similar element to the combobox."
|
|
6631
|
+
},
|
|
6632
|
+
{
|
|
6633
|
+
"name": "suffix",
|
|
6634
|
+
"description": "Used to append a presentational icon or similar element to the combobox."
|
|
6635
|
+
},
|
|
6636
|
+
{
|
|
6637
|
+
"name": "clear-icon",
|
|
6638
|
+
"description": "An icon to use in lieu of the default clear icon."
|
|
6639
|
+
},
|
|
6640
|
+
{
|
|
6641
|
+
"name": "expand-icon",
|
|
6642
|
+
"description": "The icon to show when the control is expanded and collapsed."
|
|
5573
6643
|
},
|
|
5574
6644
|
{
|
|
5575
6645
|
"name": "help-text",
|
|
@@ -5578,20 +6648,40 @@
|
|
|
5578
6648
|
],
|
|
5579
6649
|
"events": [
|
|
5580
6650
|
{
|
|
5581
|
-
"name": "cw-
|
|
5582
|
-
"description": "Emitted when the control
|
|
6651
|
+
"name": "cw-change",
|
|
6652
|
+
"description": "Emitted when the control's value changes."
|
|
5583
6653
|
},
|
|
5584
6654
|
{
|
|
5585
|
-
"name": "cw-
|
|
5586
|
-
"description": "Emitted when
|
|
6655
|
+
"name": "cw-clear",
|
|
6656
|
+
"description": "Emitted when the control's value is cleared."
|
|
6657
|
+
},
|
|
6658
|
+
{
|
|
6659
|
+
"name": "cw-input",
|
|
6660
|
+
"description": "Emitted when the control receives input."
|
|
5587
6661
|
},
|
|
5588
6662
|
{
|
|
5589
6663
|
"name": "cw-focus",
|
|
5590
6664
|
"description": "Emitted when the control gains focus."
|
|
5591
6665
|
},
|
|
5592
6666
|
{
|
|
5593
|
-
"name": "cw-
|
|
5594
|
-
"description": "Emitted when the control
|
|
6667
|
+
"name": "cw-blur",
|
|
6668
|
+
"description": "Emitted when the control loses focus."
|
|
6669
|
+
},
|
|
6670
|
+
{
|
|
6671
|
+
"name": "cw-show",
|
|
6672
|
+
"description": "Emitted when the time picker's listbox opens."
|
|
6673
|
+
},
|
|
6674
|
+
{
|
|
6675
|
+
"name": "cw-after-show",
|
|
6676
|
+
"description": "Emitted after the time picker's listbox opens and all animations are complete."
|
|
6677
|
+
},
|
|
6678
|
+
{
|
|
6679
|
+
"name": "cw-hide",
|
|
6680
|
+
"description": "Emitted when the time picker's listbox closes."
|
|
6681
|
+
},
|
|
6682
|
+
{
|
|
6683
|
+
"name": "cw-after-hide",
|
|
6684
|
+
"description": "Emitted after the time picker's listbox closes and all animations are complete."
|
|
5595
6685
|
},
|
|
5596
6686
|
{
|
|
5597
6687
|
"name": "cw-invalid",
|
|
@@ -5600,124 +6690,101 @@
|
|
|
5600
6690
|
],
|
|
5601
6691
|
"js": {
|
|
5602
6692
|
"properties": [
|
|
5603
|
-
{ "name": "
|
|
5604
|
-
{ "name": "
|
|
5605
|
-
{ "name": "
|
|
6693
|
+
{ "name": "popup", "type": "CwPopup" },
|
|
6694
|
+
{ "name": "combobox", "type": "HTMLElement" },
|
|
6695
|
+
{ "name": "displayInput", "type": "HTMLInputElement" },
|
|
6696
|
+
{ "name": "valueInput", "type": "HTMLInputElement" },
|
|
6697
|
+
{ "name": "listbox", "type": "HTMLElement" },
|
|
6698
|
+
{ "name": "columnElements", "type": "NodeListOf<HTMLElement>" },
|
|
5606
6699
|
{
|
|
5607
6700
|
"name": "name",
|
|
5608
|
-
"description": "The name of the
|
|
6701
|
+
"description": "The name of the time picker, submitted as a name/value pair with form data.",
|
|
5609
6702
|
"type": "string"
|
|
5610
6703
|
},
|
|
5611
6704
|
{
|
|
5612
6705
|
"name": "value",
|
|
5613
|
-
"description": "The current value of the
|
|
5614
|
-
"type": "string"
|
|
6706
|
+
"description": "The current value of the time picker, submitted as a name/value pair with form data. The value is a 24-hour,\nzero-padded string whose precision matches `granularity` (e.g. `\"14\"`, `\"14:08\"`, or `\"14:08:32\"`)."
|
|
5615
6707
|
},
|
|
5616
6708
|
{
|
|
5617
|
-
"name": "
|
|
5618
|
-
"description": "The
|
|
5619
|
-
"type": "
|
|
6709
|
+
"name": "defaultValue",
|
|
6710
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
6711
|
+
"type": "string"
|
|
5620
6712
|
},
|
|
5621
6713
|
{
|
|
5622
|
-
"name": "
|
|
5623
|
-
"description": "
|
|
5624
|
-
"type": "
|
|
6714
|
+
"name": "granularity",
|
|
6715
|
+
"description": "The smallest unit of time the picker allows the user to set.",
|
|
6716
|
+
"type": "TimeGranularity"
|
|
5625
6717
|
},
|
|
5626
6718
|
{
|
|
5627
|
-
"name": "
|
|
5628
|
-
"description": "The
|
|
5629
|
-
"type": "
|
|
6719
|
+
"name": "hourFormat",
|
|
6720
|
+
"description": "The hour format to use. When `auto`, the format is determined by the page's locale. When `12`, hours are shown from\n1-12 alongside an AM/PM column. When `24`, hours are shown from 00-23.",
|
|
6721
|
+
"type": "HourFormat"
|
|
5630
6722
|
},
|
|
5631
6723
|
{
|
|
5632
|
-
"name": "
|
|
5633
|
-
"description": "The
|
|
5634
|
-
"type": "
|
|
6724
|
+
"name": "size",
|
|
6725
|
+
"description": "The time picker's size.",
|
|
6726
|
+
"type": "'small' | 'medium' | 'large'"
|
|
5635
6727
|
},
|
|
5636
6728
|
{
|
|
5637
6729
|
"name": "placeholder",
|
|
5638
|
-
"description": "Placeholder text to show as a hint when the
|
|
6730
|
+
"description": "Placeholder text to show as a hint when the time picker is empty.",
|
|
5639
6731
|
"type": "string"
|
|
5640
6732
|
},
|
|
5641
|
-
{
|
|
5642
|
-
"name": "rows",
|
|
5643
|
-
"description": "The number of rows to display by default.",
|
|
5644
|
-
"type": "number"
|
|
5645
|
-
},
|
|
5646
|
-
{
|
|
5647
|
-
"name": "resize",
|
|
5648
|
-
"description": "Controls how the textarea can be resized.",
|
|
5649
|
-
"type": "'none' | 'vertical' | 'auto'"
|
|
5650
|
-
},
|
|
5651
6733
|
{
|
|
5652
6734
|
"name": "disabled",
|
|
5653
|
-
"description": "Disables the
|
|
6735
|
+
"description": "Disables the time picker.",
|
|
5654
6736
|
"type": "boolean"
|
|
5655
6737
|
},
|
|
5656
6738
|
{
|
|
5657
|
-
"name": "
|
|
5658
|
-
"description": "
|
|
6739
|
+
"name": "clearable",
|
|
6740
|
+
"description": "Adds a clear button when the time picker is not empty.",
|
|
5659
6741
|
"type": "boolean"
|
|
5660
6742
|
},
|
|
5661
6743
|
{
|
|
5662
|
-
"name": "
|
|
5663
|
-
"description": "
|
|
5664
|
-
"type": "
|
|
6744
|
+
"name": "open",
|
|
6745
|
+
"description": "Indicates whether or not the time picker is open. You can toggle this attribute to show and hide the listbox, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the time picker's open state.",
|
|
6746
|
+
"type": "boolean"
|
|
5665
6747
|
},
|
|
5666
6748
|
{
|
|
5667
|
-
"name": "
|
|
5668
|
-
"description": "
|
|
6749
|
+
"name": "hoist",
|
|
6750
|
+
"description": "Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
|
|
5669
6751
|
"type": "boolean"
|
|
5670
6752
|
},
|
|
5671
6753
|
{
|
|
5672
|
-
"name": "
|
|
5673
|
-
"description": "
|
|
5674
|
-
"type": "
|
|
6754
|
+
"name": "filled",
|
|
6755
|
+
"description": "Draws a filled time picker.",
|
|
6756
|
+
"type": "boolean"
|
|
5675
6757
|
},
|
|
5676
6758
|
{
|
|
5677
|
-
"name": "
|
|
5678
|
-
"description": "
|
|
5679
|
-
"type": "
|
|
6759
|
+
"name": "pill",
|
|
6760
|
+
"description": "Draws a pill-style time picker with rounded edges.",
|
|
6761
|
+
"type": "boolean"
|
|
5680
6762
|
},
|
|
5681
6763
|
{
|
|
5682
|
-
"name": "
|
|
5683
|
-
"description": "
|
|
5684
|
-
"type": "
|
|
6764
|
+
"name": "label",
|
|
6765
|
+
"description": "The time picker's label. If you need to display HTML, use the `label` slot instead.",
|
|
6766
|
+
"type": "string"
|
|
5685
6767
|
},
|
|
5686
6768
|
{
|
|
5687
|
-
"name": "
|
|
5688
|
-
"description": "
|
|
5689
|
-
"type": "
|
|
6769
|
+
"name": "placement",
|
|
6770
|
+
"description": "The preferred placement of the time picker's listbox. Note that the actual placement may vary as needed to keep the\nlistbox inside of the viewport.",
|
|
6771
|
+
"type": "'top' | 'bottom'"
|
|
5690
6772
|
},
|
|
5691
6773
|
{
|
|
5692
|
-
"name": "
|
|
5693
|
-
"description": "
|
|
6774
|
+
"name": "helpText",
|
|
6775
|
+
"description": "The time picker's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
5694
6776
|
"type": "string"
|
|
5695
6777
|
},
|
|
5696
6778
|
{
|
|
5697
|
-
"name": "
|
|
5698
|
-
"description": "
|
|
5699
|
-
"type": "
|
|
5700
|
-
},
|
|
5701
|
-
{
|
|
5702
|
-
"name": "enterkeyhint",
|
|
5703
|
-
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
5704
|
-
"type": "'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'"
|
|
6779
|
+
"name": "form",
|
|
6780
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
6781
|
+
"type": "string"
|
|
5705
6782
|
},
|
|
5706
6783
|
{
|
|
5707
|
-
"name": "
|
|
5708
|
-
"description": "
|
|
6784
|
+
"name": "required",
|
|
6785
|
+
"description": "The time picker's required attribute.",
|
|
5709
6786
|
"type": "boolean"
|
|
5710
6787
|
},
|
|
5711
|
-
{
|
|
5712
|
-
"name": "inputmode",
|
|
5713
|
-
"description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
|
|
5714
|
-
"type": "'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'"
|
|
5715
|
-
},
|
|
5716
|
-
{
|
|
5717
|
-
"name": "defaultValue",
|
|
5718
|
-
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
5719
|
-
"type": "string"
|
|
5720
|
-
},
|
|
5721
6788
|
{
|
|
5722
6789
|
"name": "validity",
|
|
5723
6790
|
"description": "Gets the validity state object"
|
|
@@ -5729,20 +6796,40 @@
|
|
|
5729
6796
|
],
|
|
5730
6797
|
"events": [
|
|
5731
6798
|
{
|
|
5732
|
-
"name": "cw-
|
|
5733
|
-
"description": "Emitted when the control
|
|
6799
|
+
"name": "cw-change",
|
|
6800
|
+
"description": "Emitted when the control's value changes."
|
|
5734
6801
|
},
|
|
5735
6802
|
{
|
|
5736
|
-
"name": "cw-
|
|
5737
|
-
"description": "Emitted when
|
|
6803
|
+
"name": "cw-clear",
|
|
6804
|
+
"description": "Emitted when the control's value is cleared."
|
|
6805
|
+
},
|
|
6806
|
+
{
|
|
6807
|
+
"name": "cw-input",
|
|
6808
|
+
"description": "Emitted when the control receives input."
|
|
5738
6809
|
},
|
|
5739
6810
|
{
|
|
5740
6811
|
"name": "cw-focus",
|
|
5741
6812
|
"description": "Emitted when the control gains focus."
|
|
5742
6813
|
},
|
|
5743
6814
|
{
|
|
5744
|
-
"name": "cw-
|
|
5745
|
-
"description": "Emitted when the control
|
|
6815
|
+
"name": "cw-blur",
|
|
6816
|
+
"description": "Emitted when the control loses focus."
|
|
6817
|
+
},
|
|
6818
|
+
{
|
|
6819
|
+
"name": "cw-show",
|
|
6820
|
+
"description": "Emitted when the time picker's listbox opens."
|
|
6821
|
+
},
|
|
6822
|
+
{
|
|
6823
|
+
"name": "cw-after-show",
|
|
6824
|
+
"description": "Emitted after the time picker's listbox opens and all animations are complete."
|
|
6825
|
+
},
|
|
6826
|
+
{
|
|
6827
|
+
"name": "cw-hide",
|
|
6828
|
+
"description": "Emitted when the time picker's listbox closes."
|
|
6829
|
+
},
|
|
6830
|
+
{
|
|
6831
|
+
"name": "cw-after-hide",
|
|
6832
|
+
"description": "Emitted after the time picker's listbox closes and all animations are complete."
|
|
5746
6833
|
},
|
|
5747
6834
|
{
|
|
5748
6835
|
"name": "cw-invalid",
|