@ds-autonomie/web-components 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +318 -0
- package/LICENSE +8 -0
- package/README.md +3 -0
- package/dist/chunks/chunk.23TOS4ZE.js +29 -0
- package/dist/chunks/chunk.2FK6USFR.js +63 -0
- package/dist/chunks/chunk.2HUORR44.js +76 -0
- package/dist/chunks/chunk.3BL7JA77.js +59 -0
- package/dist/chunks/chunk.3RBCYA4F.js +147 -0
- package/dist/chunks/chunk.3XRQRY25.js +25 -0
- package/dist/chunks/chunk.42W4S2HN.js +145 -0
- package/dist/chunks/chunk.4A3WMGMZ.js +79 -0
- package/dist/chunks/chunk.4A57I2HX.js +241 -0
- package/dist/chunks/chunk.4XT2OJD2.js +75 -0
- package/dist/chunks/chunk.5LT3B7MI.js +372 -0
- package/dist/chunks/chunk.5WAZTHII.js +37 -0
- package/dist/chunks/chunk.5XL2LZLC.js +100 -0
- package/dist/chunks/chunk.5XUV3SRW.js +420 -0
- package/dist/chunks/chunk.6FAUBLR3.js +84 -0
- package/dist/chunks/chunk.6M63UXML.js +35 -0
- package/dist/chunks/chunk.6PS5KB3O.js +53 -0
- package/dist/chunks/chunk.6ZQ4OQ2C.js +51 -0
- package/dist/chunks/chunk.73T7TU6S.js +24 -0
- package/dist/chunks/chunk.7J7CS3BK.js +43 -0
- package/dist/chunks/chunk.7NWAYDYI.js +168 -0
- package/dist/chunks/chunk.7ZCCXTFG.js +301 -0
- package/dist/chunks/chunk.A2PAK6VF.js +206 -0
- package/dist/chunks/chunk.ABGBXXKA.js +164 -0
- package/dist/chunks/chunk.AQRNB4GJ.js +33 -0
- package/dist/chunks/chunk.AR5HJD7F.js +111 -0
- package/dist/chunks/chunk.B4BZKR24.js +16 -0
- package/dist/chunks/chunk.BD63GRU5.js +132 -0
- package/dist/chunks/chunk.BEB47LM2.js +278 -0
- package/dist/chunks/chunk.BLPP3Q5H.js +555 -0
- package/dist/chunks/chunk.CJIL3BLA.js +45 -0
- package/dist/chunks/chunk.CPXD6UYZ.js +34 -0
- package/dist/chunks/chunk.D7CATJYB.js +36 -0
- package/dist/chunks/chunk.DC6CT5PU.js +109 -0
- package/dist/chunks/chunk.DRGGQ4WL.js +9 -0
- package/dist/chunks/chunk.DSGUQNN4.js +26 -0
- package/dist/chunks/chunk.DURVPB6M.js +391 -0
- package/dist/chunks/chunk.DXVNWE2M.js +166 -0
- package/dist/chunks/chunk.EFQHAGXP.js +26 -0
- package/dist/chunks/chunk.EHVJT7BH.js +215 -0
- package/dist/chunks/chunk.EKWYMXQO.js +166 -0
- package/dist/chunks/chunk.EMIT7S33.js +71 -0
- package/dist/chunks/chunk.EMJZLQCL.js +60 -0
- package/dist/chunks/chunk.ENKP2IFW.js +361 -0
- package/dist/chunks/chunk.EU56EW33.js +91 -0
- package/dist/chunks/chunk.EYZGEU3G.js +45 -0
- package/dist/chunks/chunk.FDYFSRSX.js +33 -0
- package/dist/chunks/chunk.FIGO7UV2.js +77 -0
- package/dist/chunks/chunk.G7AELPSO.js +131 -0
- package/dist/chunks/chunk.GI7VDIWX.js +24 -0
- package/dist/chunks/chunk.GYTA2LJC.js +145 -0
- package/dist/chunks/chunk.HAL7R4WT.js +0 -0
- package/dist/chunks/chunk.HC5BO5YV.js +405 -0
- package/dist/chunks/chunk.HH63FIEF.js +122 -0
- package/dist/chunks/chunk.HLYGKGDG.js +308 -0
- package/dist/chunks/chunk.I33L3NO6.js +122 -0
- package/dist/chunks/chunk.IGYXUK7A.js +19 -0
- package/dist/chunks/chunk.INCGVIAQ.js +61 -0
- package/dist/chunks/chunk.IOFPPNUO.js +25 -0
- package/dist/chunks/chunk.IRQOFNJE.js +317 -0
- package/dist/chunks/chunk.ISAFRNR2.js +112 -0
- package/dist/chunks/chunk.J2XNYTTZ.js +715 -0
- package/dist/chunks/chunk.JETXIC4F.js +150 -0
- package/dist/chunks/chunk.JT7UJED5.js +33 -0
- package/dist/chunks/chunk.K6WCEYZI.js +52 -0
- package/dist/chunks/chunk.KBT2EKLF.js +25 -0
- package/dist/chunks/chunk.KDAK2GXX.js +58 -0
- package/dist/chunks/chunk.KHIMMW3T.js +33 -0
- package/dist/chunks/chunk.KIFBWPW5.js +298 -0
- package/dist/chunks/chunk.KOH5V4C6.js +552 -0
- package/dist/chunks/chunk.LC54322H.js +99 -0
- package/dist/chunks/chunk.LMJPQPQT.js +26 -0
- package/dist/chunks/chunk.LT7JMZ3T.js +371 -0
- package/dist/chunks/chunk.M245ZGRR.js +80 -0
- package/dist/chunks/chunk.MOWTZFON.js +63 -0
- package/dist/chunks/chunk.MY434P47.js +125 -0
- package/dist/chunks/chunk.N6VVY6XD.js +91 -0
- package/dist/chunks/chunk.NDEZEB3Z.js +402 -0
- package/dist/chunks/chunk.NHRDZGLI.js +81 -0
- package/dist/chunks/chunk.NKKVGICB.js +114 -0
- package/dist/chunks/chunk.NNBOLKWI.js +17 -0
- package/dist/chunks/chunk.O73OYTYJ.js +319 -0
- package/dist/chunks/chunk.OBU65KDL.js +29 -0
- package/dist/chunks/chunk.ODSCDJDO.js +91 -0
- package/dist/chunks/chunk.OVK7QCA7.js +441 -0
- package/dist/chunks/chunk.PQWQ42E2.js +150 -0
- package/dist/chunks/chunk.PULHNCDM.js +98 -0
- package/dist/chunks/chunk.PWWER3ZK.js +806 -0
- package/dist/chunks/chunk.QFJA3MTV.js +66 -0
- package/dist/chunks/chunk.QKNNLZ2M.js +361 -0
- package/dist/chunks/chunk.QL5C2XOW.js +0 -0
- package/dist/chunks/chunk.RDGMZ5XB.js +24 -0
- package/dist/chunks/chunk.RIJQGADY.js +108 -0
- package/dist/chunks/chunk.RMCOWJOW.js +17 -0
- package/dist/chunks/chunk.RY4QCT3T.js +29 -0
- package/dist/chunks/chunk.S4ATPBQN.js +89 -0
- package/dist/chunks/chunk.SGIGGO5M.js +86 -0
- package/dist/chunks/chunk.SQMWMSBA.js +207 -0
- package/dist/chunks/chunk.TJOP7HQP.js +14 -0
- package/dist/chunks/chunk.TUVJKY7S.js +21 -0
- package/dist/chunks/chunk.UA32LJYW.js +230 -0
- package/dist/chunks/chunk.UEUTSYIH.js +60 -0
- package/dist/chunks/chunk.UPYCV66H.js +111 -0
- package/dist/chunks/chunk.UV53JTE3.js +128 -0
- package/dist/chunks/chunk.UZLQVFDR.js +386 -0
- package/dist/chunks/chunk.V7RJROLH.js +48 -0
- package/dist/chunks/chunk.VFYKLPN2.js +144 -0
- package/dist/chunks/chunk.VRY3E2XG.js +196 -0
- package/dist/chunks/chunk.WE6IG5XG.js +164 -0
- package/dist/chunks/chunk.WFHOSUOX.js +263 -0
- package/dist/chunks/chunk.WHK7EFIM.js +264 -0
- package/dist/chunks/chunk.WIEJJS3W.js +88 -0
- package/dist/chunks/chunk.WK7RWLAK.js +54 -0
- package/dist/chunks/chunk.WNHQYL5W.js +298 -0
- package/dist/chunks/chunk.WSVP75MH.js +102 -0
- package/dist/chunks/chunk.XNEONNEJ.js +23 -0
- package/dist/chunks/chunk.XSCX6TC5.js +127 -0
- package/dist/chunks/chunk.XWUQFDIN.js +15 -0
- package/dist/chunks/chunk.Y3ZUFLVS.js +90 -0
- package/dist/chunks/chunk.YCXTCVAZ.js +30 -0
- package/dist/chunks/chunk.YIY5RM53.js +66 -0
- package/dist/chunks/chunk.YL3TSWVM.js +17 -0
- package/dist/chunks/chunk.YS7MY5CH.js +512 -0
- package/dist/chunks/chunk.YY6AEXJK.js +33 -0
- package/dist/chunks/chunk.YZHDFJWJ.js +17 -0
- package/dist/chunks/chunk.Z6TBD2AC.js +125 -0
- package/dist/chunks/chunk.ZKYSHEVZ.js +22 -0
- package/dist/chunks/chunk.ZVGZDTBF.js +104 -0
- package/dist/components/accordion/accordion.d.ts +49 -0
- package/dist/components/accordion/accordion.js +23 -0
- package/dist/components/accordion/accordion.styles.d.ts +2 -0
- package/dist/components/accordion/accordion.styles.js +8 -0
- package/dist/components/alert/alert.d.ts +52 -0
- package/dist/components/alert/alert.js +25 -0
- package/dist/components/alert/alert.styles.d.ts +2 -0
- package/dist/components/alert/alert.styles.js +8 -0
- package/dist/components/animation/animation.d.ts +81 -0
- package/dist/components/animation/animation.js +12 -0
- package/dist/components/animation/animation.styles.d.ts +2 -0
- package/dist/components/animation/animation.styles.js +8 -0
- package/dist/components/animation/animations.d.ts +6 -0
- package/dist/components/animation/animations.js +11 -0
- package/dist/components/avatar/avatar.d.ts +42 -0
- package/dist/components/avatar/avatar.js +19 -0
- package/dist/components/avatar/avatar.styles.d.ts +2 -0
- package/dist/components/avatar/avatar.styles.js +8 -0
- package/dist/components/avatar-group/avatar-group.d.ts +21 -0
- package/dist/components/avatar-group/avatar-group.js +9 -0
- package/dist/components/avatar-group/avatar-group.styles.d.ts +2 -0
- package/dist/components/avatar-group/avatar-group.styles.js +7 -0
- package/dist/components/badge/badge.d.ts +23 -0
- package/dist/components/badge/badge.js +10 -0
- package/dist/components/badge/badge.styles.d.ts +2 -0
- package/dist/components/badge/badge.styles.js +8 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +23 -0
- package/dist/components/breadcrumb/breadcrumb.js +20 -0
- package/dist/components/breadcrumb/breadcrumb.styles.d.ts +2 -0
- package/dist/components/breadcrumb/breadcrumb.styles.js +8 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +30 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.js +12 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.styles.d.ts +2 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.styles.js +8 -0
- package/dist/components/button/button.d.ts +120 -0
- package/dist/components/button/button.js +24 -0
- package/dist/components/button/button.styles.d.ts +2 -0
- package/dist/components/button/button.styles.js +8 -0
- package/dist/components/card/card.d.ts +22 -0
- package/dist/components/card/card.js +11 -0
- package/dist/components/card/card.styles.d.ts +2 -0
- package/dist/components/card/card.styles.js +8 -0
- package/dist/components/checkbox/checkbox.d.ts +93 -0
- package/dist/components/checkbox/checkbox.js +24 -0
- package/dist/components/checkbox/checkbox.styles.d.ts +2 -0
- package/dist/components/checkbox/checkbox.styles.js +9 -0
- package/dist/components/checkbox-button/checkbox-button.d.ts +48 -0
- package/dist/components/checkbox-button/checkbox-button.js +21 -0
- package/dist/components/checkbox-button/checkbox-button.styles.d.ts +2 -0
- package/dist/components/checkbox-button/checkbox-button.styles.js +9 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +85 -0
- package/dist/components/checkbox-group/checkbox-group.js +16 -0
- package/dist/components/checkbox-group/checkbox-group.styles.d.ts +2 -0
- package/dist/components/checkbox-group/checkbox-group.styles.js +9 -0
- package/dist/components/dialog/dialog.d.ts +70 -0
- package/dist/components/dialog/dialog.js +28 -0
- package/dist/components/dialog/dialog.styles.d.ts +2 -0
- package/dist/components/dialog/dialog.styles.js +8 -0
- package/dist/components/divider/divider.d.ts +17 -0
- package/dist/components/divider/divider.js +10 -0
- package/dist/components/divider/divider.styles.d.ts +2 -0
- package/dist/components/divider/divider.styles.js +8 -0
- package/dist/components/drawer/drawer.d.ts +77 -0
- package/dist/components/drawer/drawer.js +28 -0
- package/dist/components/drawer/drawer.styles.d.ts +2 -0
- package/dist/components/drawer/drawer.styles.js +8 -0
- package/dist/components/dropdown/dropdown.d.ts +87 -0
- package/dist/components/dropdown/dropdown.js +15 -0
- package/dist/components/dropdown/dropdown.styles.d.ts +2 -0
- package/dist/components/dropdown/dropdown.styles.js +8 -0
- package/dist/components/error-text/error-text.d.ts +18 -0
- package/dist/components/error-text/error-text.js +9 -0
- package/dist/components/error-text/error-text.styles.d.ts +2 -0
- package/dist/components/error-text/error-text.styles.js +7 -0
- package/dist/components/format-bytes/format-bytes.d.ts +22 -0
- package/dist/components/format-bytes/format-bytes.js +9 -0
- package/dist/components/format-date/format-date.d.ts +42 -0
- package/dist/components/format-date/format-date.js +9 -0
- package/dist/components/format-number/format-number.d.ts +36 -0
- package/dist/components/format-number/format-number.js +9 -0
- package/dist/components/icon/icon.d.ts +40 -0
- package/dist/components/icon/icon.js +17 -0
- package/dist/components/icon/icon.styles.d.ts +2 -0
- package/dist/components/icon/icon.styles.js +8 -0
- package/dist/components/icon/library.d.ts +21 -0
- package/dist/components/icon/library.default.d.ts +3 -0
- package/dist/components/icon/library.default.js +8 -0
- package/dist/components/icon/library.js +18 -0
- package/dist/components/icon/library.system.d.ts +3 -0
- package/dist/components/icon/library.system.js +7 -0
- package/dist/components/icon/request.d.ts +11 -0
- package/dist/components/icon/request.js +8 -0
- package/dist/components/icon-button/icon-button.d.ts +59 -0
- package/dist/components/icon-button/icon-button.js +19 -0
- package/dist/components/icon-button/icon-button.styles.d.ts +2 -0
- package/dist/components/icon-button/icon-button.styles.js +8 -0
- package/dist/components/include/include.d.ts +32 -0
- package/dist/components/include/include.js +12 -0
- package/dist/components/include/include.styles.d.ts +2 -0
- package/dist/components/include/include.styles.js +8 -0
- package/dist/components/include/request.d.ts +8 -0
- package/dist/components/include/request.js +7 -0
- package/dist/components/input/input.d.ts +165 -0
- package/dist/components/input/input.js +27 -0
- package/dist/components/input/input.styles.d.ts +2 -0
- package/dist/components/input/input.styles.js +9 -0
- package/dist/components/input/input.utils.d.ts +4 -0
- package/dist/components/input/input.utils.js +9 -0
- package/dist/components/input-mask/input-mask.configs.d.ts +42 -0
- package/dist/components/input-mask/input-mask.configs.js +11 -0
- package/dist/components/input-mask/input-mask.d.ts +127 -0
- package/dist/components/input-mask/input-mask.js +19 -0
- package/dist/components/input-mask/input-mask.styles.d.ts +2 -0
- package/dist/components/input-mask/input-mask.styles.js +9 -0
- package/dist/components/input-mask/input-mask.utils.d.ts +7 -0
- package/dist/components/input-mask/input-mask.utils.js +19 -0
- package/dist/components/input-phone/input-phone.configs.d.ts +14 -0
- package/dist/components/input-phone/input-phone.configs.js +7 -0
- package/dist/components/input-phone/input-phone.d.ts +138 -0
- package/dist/components/input-phone/input-phone.js +49 -0
- package/dist/components/input-phone/input-phone.styles.d.ts +2 -0
- package/dist/components/input-phone/input-phone.styles.js +9 -0
- package/dist/components/input-phone/input-phone.utils.d.ts +9 -0
- package/dist/components/input-phone/input-phone.utils.js +13 -0
- package/dist/components/menu/menu.d.ts +43 -0
- package/dist/components/menu/menu.js +10 -0
- package/dist/components/menu/menu.styles.d.ts +2 -0
- package/dist/components/menu/menu.styles.js +8 -0
- package/dist/components/menu-item/menu-item.d.ts +44 -0
- package/dist/components/menu-item/menu-item.js +20 -0
- package/dist/components/menu-item/menu-item.styles.d.ts +2 -0
- package/dist/components/menu-item/menu-item.styles.js +8 -0
- package/dist/components/menu-label/menu-label.d.ts +17 -0
- package/dist/components/menu-label/menu-label.js +10 -0
- package/dist/components/menu-label/menu-label.styles.d.ts +2 -0
- package/dist/components/menu-label/menu-label.styles.js +8 -0
- package/dist/components/mutation-observer/mutation-observer.d.ts +44 -0
- package/dist/components/mutation-observer/mutation-observer.js +11 -0
- package/dist/components/mutation-observer/mutation-observer.styles.d.ts +2 -0
- package/dist/components/mutation-observer/mutation-observer.styles.js +8 -0
- package/dist/components/option/option.d.ts +50 -0
- package/dist/components/option/option.js +20 -0
- package/dist/components/option/option.styles.d.ts +2 -0
- package/dist/components/option/option.styles.js +8 -0
- package/dist/components/popup/popup.d.ts +123 -0
- package/dist/components/popup/popup.js +10 -0
- package/dist/components/popup/popup.styles.d.ts +2 -0
- package/dist/components/popup/popup.styles.js +8 -0
- package/dist/components/progress-bar/progress-bar.d.ts +23 -0
- package/dist/components/progress-bar/progress-bar.js +11 -0
- package/dist/components/progress-bar/progress-bar.styles.d.ts +2 -0
- package/dist/components/progress-bar/progress-bar.styles.js +8 -0
- package/dist/components/progress-ring/progress-ring.d.ts +25 -0
- package/dist/components/progress-ring/progress-ring.js +11 -0
- package/dist/components/progress-ring/progress-ring.styles.d.ts +2 -0
- package/dist/components/progress-ring/progress-ring.styles.js +8 -0
- package/dist/components/radio/radio.d.ts +46 -0
- package/dist/components/radio/radio.js +19 -0
- package/dist/components/radio/radio.styles.d.ts +2 -0
- package/dist/components/radio/radio.styles.js +8 -0
- package/dist/components/radio-button/radio-button.d.ts +47 -0
- package/dist/components/radio-button/radio-button.js +13 -0
- package/dist/components/radio-button/radio-button.styles.d.ts +2 -0
- package/dist/components/radio-button/radio-button.styles.js +9 -0
- package/dist/components/radio-group/radio-group.d.ts +91 -0
- package/dist/components/radio-group/radio-group.js +16 -0
- package/dist/components/radio-group/radio-group.styles.d.ts +2 -0
- package/dist/components/radio-group/radio-group.styles.js +9 -0
- package/dist/components/relative-time/relative-time.d.ts +34 -0
- package/dist/components/relative-time/relative-time.js +9 -0
- package/dist/components/resize-observer/resize-observer.d.ts +31 -0
- package/dist/components/resize-observer/resize-observer.js +11 -0
- package/dist/components/resize-observer/resize-observer.styles.d.ts +2 -0
- package/dist/components/resize-observer/resize-observer.styles.js +8 -0
- package/dist/components/select/select.d.ts +166 -0
- package/dist/components/select/select.js +36 -0
- package/dist/components/select/select.styles.d.ts +2 -0
- package/dist/components/select/select.styles.js +9 -0
- package/dist/components/skeleton/skeleton.d.ts +21 -0
- package/dist/components/skeleton/skeleton.js +10 -0
- package/dist/components/skeleton/skeleton.styles.d.ts +2 -0
- package/dist/components/skeleton/skeleton.styles.js +8 -0
- package/dist/components/spinner/spinner.d.ts +21 -0
- package/dist/components/spinner/spinner.js +11 -0
- package/dist/components/spinner/spinner.styles.d.ts +2 -0
- package/dist/components/spinner/spinner.styles.js +8 -0
- package/dist/components/tab/tab.d.ts +44 -0
- package/dist/components/tab/tab.js +12 -0
- package/dist/components/tab/tab.styles.d.ts +2 -0
- package/dist/components/tab/tab.styles.js +8 -0
- package/dist/components/tab-group/tab-group.d.ts +61 -0
- package/dist/components/tab-group/tab-group.js +13 -0
- package/dist/components/tab-group/tab-group.styles.d.ts +2 -0
- package/dist/components/tab-group/tab-group.styles.js +8 -0
- package/dist/components/tab-panel/tab-panel.d.ts +25 -0
- package/dist/components/tab-panel/tab-panel.js +11 -0
- package/dist/components/tab-panel/tab-panel.styles.d.ts +2 -0
- package/dist/components/tab-panel/tab-panel.styles.js +8 -0
- package/dist/components/tag/tag.d.ts +34 -0
- package/dist/components/tag/tag.js +22 -0
- package/dist/components/tag/tag.styles.d.ts +2 -0
- package/dist/components/tag/tag.styles.js +8 -0
- package/dist/components/textarea/textarea.d.ts +137 -0
- package/dist/components/textarea/textarea.js +17 -0
- package/dist/components/textarea/textarea.styles.d.ts +2 -0
- package/dist/components/textarea/textarea.styles.js +9 -0
- package/dist/components/tooltip/tooltip.d.ts +80 -0
- package/dist/components/tooltip/tooltip.js +17 -0
- package/dist/components/tooltip/tooltip.styles.d.ts +2 -0
- package/dist/components/tooltip/tooltip.styles.js +8 -0
- package/dist/components/tree/tree.d.ts +53 -0
- package/dist/components/tree/tree.js +33 -0
- package/dist/components/tree/tree.styles.d.ts +2 -0
- package/dist/components/tree/tree.styles.js +8 -0
- package/dist/components/tree-item/tree-item.d.ts +69 -0
- package/dist/components/tree-item/tree-item.js +31 -0
- package/dist/components/tree-item/tree-item.styles.d.ts +2 -0
- package/dist/components/tree-item/tree-item.styles.js +8 -0
- package/dist/components/visually-hidden/visually-hidden.d.ts +17 -0
- package/dist/components/visually-hidden/visually-hidden.js +10 -0
- package/dist/components/visually-hidden/visually-hidden.styles.d.ts +2 -0
- package/dist/components/visually-hidden/visually-hidden.styles.js +8 -0
- package/dist/custom-elements.json +14628 -0
- package/dist/design-system-autoloader.d.ts +4 -0
- package/dist/design-system-autoloader.js +46 -0
- package/dist/design-system.d.ts +58 -0
- package/dist/design-system.js +309 -0
- package/dist/events/dsa-after-collapse.d.ts +7 -0
- package/dist/events/dsa-after-collapse.js +1 -0
- package/dist/events/dsa-after-expand.d.ts +7 -0
- package/dist/events/dsa-after-expand.js +1 -0
- package/dist/events/dsa-after-hide.d.ts +7 -0
- package/dist/events/dsa-after-hide.js +1 -0
- package/dist/events/dsa-after-show.d.ts +7 -0
- package/dist/events/dsa-after-show.js +1 -0
- package/dist/events/dsa-blur.d.ts +7 -0
- package/dist/events/dsa-blur.js +1 -0
- package/dist/events/dsa-cancel.d.ts +7 -0
- package/dist/events/dsa-cancel.js +1 -0
- package/dist/events/dsa-change.d.ts +7 -0
- package/dist/events/dsa-change.js +1 -0
- package/dist/events/dsa-clear.d.ts +7 -0
- package/dist/events/dsa-clear.js +1 -0
- package/dist/events/dsa-close.d.ts +7 -0
- package/dist/events/dsa-close.js +1 -0
- package/dist/events/dsa-collapse.d.ts +7 -0
- package/dist/events/dsa-collapse.js +1 -0
- package/dist/events/dsa-error.d.ts +9 -0
- package/dist/events/dsa-error.js +1 -0
- package/dist/events/dsa-expand.d.ts +7 -0
- package/dist/events/dsa-expand.js +1 -0
- package/dist/events/dsa-finish.d.ts +7 -0
- package/dist/events/dsa-finish.js +1 -0
- package/dist/events/dsa-focus.d.ts +7 -0
- package/dist/events/dsa-focus.js +1 -0
- package/dist/events/dsa-hide.d.ts +7 -0
- package/dist/events/dsa-hide.js +1 -0
- package/dist/events/dsa-hover.d.ts +10 -0
- package/dist/events/dsa-hover.js +1 -0
- package/dist/events/dsa-initial-focus.d.ts +7 -0
- package/dist/events/dsa-initial-focus.js +1 -0
- package/dist/events/dsa-input.d.ts +7 -0
- package/dist/events/dsa-input.js +1 -0
- package/dist/events/dsa-invalid.d.ts +7 -0
- package/dist/events/dsa-invalid.js +1 -0
- package/dist/events/dsa-lazy-change.d.ts +7 -0
- package/dist/events/dsa-lazy-change.js +1 -0
- package/dist/events/dsa-lazy-load.d.ts +7 -0
- package/dist/events/dsa-lazy-load.js +1 -0
- package/dist/events/dsa-load.d.ts +7 -0
- package/dist/events/dsa-load.js +1 -0
- package/dist/events/dsa-mutation.d.ts +9 -0
- package/dist/events/dsa-mutation.js +1 -0
- package/dist/events/dsa-remove.d.ts +7 -0
- package/dist/events/dsa-remove.js +1 -0
- package/dist/events/dsa-reposition.d.ts +7 -0
- package/dist/events/dsa-reposition.js +1 -0
- package/dist/events/dsa-request-close.d.ts +9 -0
- package/dist/events/dsa-request-close.js +1 -0
- package/dist/events/dsa-resize.d.ts +9 -0
- package/dist/events/dsa-resize.js +1 -0
- package/dist/events/dsa-select.d.ts +10 -0
- package/dist/events/dsa-select.js +1 -0
- package/dist/events/dsa-selection-change.d.ts +10 -0
- package/dist/events/dsa-selection-change.js +1 -0
- package/dist/events/dsa-show.d.ts +7 -0
- package/dist/events/dsa-show.js +1 -0
- package/dist/events/dsa-start.d.ts +7 -0
- package/dist/events/dsa-start.js +1 -0
- package/dist/events/dsa-tab-hide.d.ts +9 -0
- package/dist/events/dsa-tab-hide.js +1 -0
- package/dist/events/dsa-tab-show.d.ts +9 -0
- package/dist/events/dsa-tab-show.js +1 -0
- package/dist/events/events.d.ts +32 -0
- package/dist/events/events.js +1 -0
- package/dist/internal/animate.d.ts +22 -0
- package/dist/internal/animate.js +56 -0
- package/dist/internal/components/button-group/button-group.d.ts +34 -0
- package/dist/internal/components/button-group/button-group.js +110 -0
- package/dist/internal/components/button-group/button-group.styles.d.ts +2 -0
- package/dist/internal/components/button-group/button-group.styles.js +19 -0
- package/dist/internal/debounce.d.ts +1 -0
- package/dist/internal/debounce.js +26 -0
- package/dist/internal/default-value.d.ts +2 -0
- package/dist/internal/default-value.js +38 -0
- package/dist/internal/drag.d.ts +15 -0
- package/dist/internal/drag.js +27 -0
- package/dist/internal/event.d.ts +2 -0
- package/dist/internal/event.js +12 -0
- package/dist/internal/form.d.ts +73 -0
- package/dist/internal/form.js +328 -0
- package/dist/internal/math.d.ts +2 -0
- package/dist/internal/math.js +11 -0
- package/dist/internal/modal.d.ts +12 -0
- package/dist/internal/modal.js +51 -0
- package/dist/internal/offset.d.ts +11 -0
- package/dist/internal/offset.js +13 -0
- package/dist/internal/scroll.d.ts +11 -0
- package/dist/internal/scroll.js +63 -0
- package/dist/internal/shoelace-element.d.ts +43 -0
- package/dist/internal/shoelace-element.js +21 -0
- package/dist/internal/slot.d.ts +23 -0
- package/dist/internal/slot.js +84 -0
- package/dist/internal/string.d.ts +2 -0
- package/dist/internal/string.js +4 -0
- package/dist/internal/tabbable.d.ts +8 -0
- package/dist/internal/tabbable.js +79 -0
- package/dist/internal/test/data-testid-helpers.d.ts +12 -0
- package/dist/internal/test/data-testid-helpers.js +14 -0
- package/dist/internal/test/element-visible-overflow.d.ts +11 -0
- package/dist/internal/test/element-visible-overflow.js +18 -0
- package/dist/internal/test/form-control-base-tests.d.ts +7 -0
- package/dist/internal/test/form-control-base-tests.js +262 -0
- package/dist/internal/test/wait-for-scrolling.d.ts +9 -0
- package/dist/internal/test/wait-for-scrolling.js +34 -0
- package/dist/internal/test.d.ts +20 -0
- package/dist/internal/test.js +71 -0
- package/dist/internal/watch.d.ts +26 -0
- package/dist/internal/watch.js +38 -0
- package/dist/styles/component.styles.d.ts +2 -0
- package/dist/styles/component.styles.js +16 -0
- package/dist/styles/form-control.styles.d.ts +2 -0
- package/dist/styles/form-control.styles.js +142 -0
- package/dist/themes/dsa-wc-theme.css +1218 -0
- package/dist/themes/dsa-wc-theme.min.css +1 -0
- package/dist/themes/dsa-wc-theme.styles.js +1229 -0
- package/dist/translations/en-gb.d.ts +3 -0
- package/dist/translations/en-gb.js +21 -0
- package/dist/translations/en.d.ts +3 -0
- package/dist/translations/en.js +7 -0
- package/dist/translations/fr.d.ts +3 -0
- package/dist/translations/fr.js +7 -0
- package/dist/utilities/animation-registry.d.ts +24 -0
- package/dist/utilities/animation-registry.js +11 -0
- package/dist/utilities/animation.d.ts +1 -0
- package/dist/utilities/animation.js +10 -0
- package/dist/utilities/base-path.d.ts +18 -0
- package/dist/utilities/base-path.js +9 -0
- package/dist/utilities/form.d.ts +11 -0
- package/dist/utilities/form.js +43 -0
- package/dist/utilities/icon-library.d.ts +1 -0
- package/dist/utilities/icon-library.js +13 -0
- package/dist/utilities/localize.d.ts +39 -0
- package/dist/utilities/localize.js +9 -0
- package/dist/utilities/storybook.d.ts +46 -0
- package/dist/utilities/storybook.js +54 -0
- package/dist/vscode.html-custom-data.json +2392 -0
- package/dist/web-types.json +8687 -0
- package/package.json +109 -0
|
@@ -0,0 +1,2392 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1.1,
|
|
3
|
+
"tags": [
|
|
4
|
+
{
|
|
5
|
+
"name": "dsa-accordion",
|
|
6
|
+
"description": "Accordion show a brief summary and expand to show additional content.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-show** - Emitted when the accordion opens.\n- **dsa-after-show** - Emitted after the accordion opens and all animations are complete.\n- **dsa-hide** - Emitted when the accordion closes.\n- **dsa-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\n\n### **Slots:**\n - _default_ - The accordion's main content.\n- **summary** - The accordion's summary. Alternatively, you can use the `summary` attribute.",
|
|
7
|
+
"attributes": [
|
|
8
|
+
{
|
|
9
|
+
"name": "open",
|
|
10
|
+
"description": "Indicates whether or not the accordion is open. You can toggle this attribute to show and hide the accordion, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the accordion' open state.",
|
|
11
|
+
"values": []
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "summary",
|
|
15
|
+
"description": "The summary to show in the header. If you need to display HTML, use the `summary` slot instead.",
|
|
16
|
+
"values": []
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "disabled",
|
|
20
|
+
"description": "Disables the accordion so it can't be toggled.",
|
|
21
|
+
"values": []
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "icon",
|
|
25
|
+
"description": "The accordion's expand/collapse icon variant",
|
|
26
|
+
"values": [{ "name": "chevron" }, { "name": "box" }]
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"references": []
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "dsa-alert",
|
|
33
|
+
"description": "Alerts are used to display important messages inline or as toast notifications.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-show** - Emitted when the alert opens.\n- **dsa-after-show** - Emitted after the alert opens and all animations are complete.\n- **dsa-hide** - Emitted when the alert closes.\n- **dsa-after-hide** - Emitted after the alert closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the alert.\n- **hide()** - Hides the alert\n- **toast()** - Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\ncalling this method again. The returned promise will resolve after the alert is hidden.\n\n### **Slots:**\n - _default_ - The alert's main content.\n- **action** - An optional slot action, usually a `dsa-button` or `dsa-button-group`.",
|
|
34
|
+
"attributes": [
|
|
35
|
+
{
|
|
36
|
+
"name": "open",
|
|
37
|
+
"description": "Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the alert's open state.",
|
|
38
|
+
"values": []
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "closable",
|
|
42
|
+
"description": "Enables a close button that allows the user to dismiss the alert.",
|
|
43
|
+
"values": []
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "variant",
|
|
47
|
+
"description": "The alert's theme variant.",
|
|
48
|
+
"values": [
|
|
49
|
+
{ "name": "" },
|
|
50
|
+
{ "name": "primary" },
|
|
51
|
+
{ "name": "success" },
|
|
52
|
+
{ "name": "neutral" },
|
|
53
|
+
{ "name": "warning" },
|
|
54
|
+
{ "name": "danger" }
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"references": []
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "dsa-animation",
|
|
62
|
+
"description": "Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-cancel** - Emitted when the animation is canceled.\n- **dsa-finish** - Emitted when the animation finishes.\n- **dsa-start** - Emitted when the animation starts or restarts.\n\n### **Methods:**\n - **cancel()** - Clears all keyframe effects caused by this animation and aborts its playback.\n- **finish()** - Sets the playback time to the end of the animation corresponding to the current playback direction.\n\n### **Slots:**\n - _default_ - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<dsa-animation>` elements.",
|
|
63
|
+
"attributes": [
|
|
64
|
+
{
|
|
65
|
+
"name": "name",
|
|
66
|
+
"description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.",
|
|
67
|
+
"values": []
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "play",
|
|
71
|
+
"description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
|
|
72
|
+
"values": []
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "delay",
|
|
76
|
+
"description": "The number of milliseconds to delay the start of the animation.",
|
|
77
|
+
"values": []
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "direction",
|
|
81
|
+
"description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
|
|
82
|
+
"values": [{ "name": "PlaybackDirection" }]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "duration",
|
|
86
|
+
"description": "The number of milliseconds each iteration of the animation takes to complete.",
|
|
87
|
+
"values": []
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "easing",
|
|
91
|
+
"description": "The easing function to use for the animation. This can be a Shoelace easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
|
|
92
|
+
"values": []
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "end-delay",
|
|
96
|
+
"description": "The number of milliseconds to delay after the active period of an animation sequence.",
|
|
97
|
+
"values": []
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "fill",
|
|
101
|
+
"description": "Sets how the animation applies styles to its target before and after its execution.",
|
|
102
|
+
"values": [{ "name": "FillMode" }]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "iterations",
|
|
106
|
+
"description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
|
|
107
|
+
"values": []
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "iteration-start",
|
|
111
|
+
"description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
|
|
112
|
+
"values": []
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "playback-rate",
|
|
116
|
+
"description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
|
|
117
|
+
"values": []
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"references": []
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "dsa-avatar",
|
|
124
|
+
"description": "Avatars are used to represent a person or object.\n\n\n---\n\n\n\n\n### **Slots:**\n - **icon** - The default icon to use when no image or initials are present. Works best with `<dsa-icon>`.\n\n### **CSS Properties:**\n - **--size** - The size of the avatar. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the avatar's icon.\n- **initials** - The container that wraps the avatar's initials.\n- **image** - The avatar image. Only shown when the `image` attribute is set.",
|
|
125
|
+
"attributes": [
|
|
126
|
+
{
|
|
127
|
+
"name": "image",
|
|
128
|
+
"description": "The image source to use for the avatar.",
|
|
129
|
+
"values": []
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "label",
|
|
133
|
+
"description": "A label to use to describe the avatar to assistive devices.",
|
|
134
|
+
"values": []
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "initials",
|
|
138
|
+
"description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
|
|
139
|
+
"values": []
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "loading",
|
|
143
|
+
"description": "Indicates how the browser should load the image.",
|
|
144
|
+
"values": [{ "name": "eager" }, { "name": "lazy" }]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "size",
|
|
148
|
+
"description": "The avatar's size.",
|
|
149
|
+
"values": [
|
|
150
|
+
{ "name": "small" },
|
|
151
|
+
{ "name": "medium" },
|
|
152
|
+
{ "name": "large" },
|
|
153
|
+
{ "name": "x-large" }
|
|
154
|
+
]
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"references": []
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "dsa-avatar-group",
|
|
161
|
+
"description": "The avatar-group displays avatars in a grouped style\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The avatar group's content - only works with `dsa-avatar`",
|
|
162
|
+
"attributes": [],
|
|
163
|
+
"references": []
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "dsa-badge",
|
|
167
|
+
"description": "Badges are used to draw attention and display statuses or counts.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The badge's content.",
|
|
168
|
+
"attributes": [
|
|
169
|
+
{
|
|
170
|
+
"name": "variant",
|
|
171
|
+
"description": "The badge's theme variant.",
|
|
172
|
+
"values": [
|
|
173
|
+
{ "name": "" },
|
|
174
|
+
{ "name": "primary" },
|
|
175
|
+
{ "name": "success" },
|
|
176
|
+
{ "name": "neutral" },
|
|
177
|
+
{ "name": "warning" },
|
|
178
|
+
{ "name": "danger" }
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "dot",
|
|
183
|
+
"description": "Draws a dot-style badge with centered text. Useful for displaying notifications.",
|
|
184
|
+
"values": []
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "pulse",
|
|
188
|
+
"description": "Makes the badge pulsate to draw attention.",
|
|
189
|
+
"values": []
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
"references": []
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "dsa-breadcrumb",
|
|
196
|
+
"description": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more breadcrumb items to display.",
|
|
197
|
+
"attributes": [],
|
|
198
|
+
"references": []
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "dsa-breadcrumb-item",
|
|
202
|
+
"description": "Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The breadcrumb item's label.\n- **prefix** - An optional prefix, usually an icon or icon button.\n- **suffix** - An optional suffix, usually an icon or icon button.",
|
|
203
|
+
"attributes": [
|
|
204
|
+
{
|
|
205
|
+
"name": "href",
|
|
206
|
+
"description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
|
|
207
|
+
"values": []
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "target",
|
|
211
|
+
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
212
|
+
"values": [
|
|
213
|
+
{ "name": "_blank" },
|
|
214
|
+
{ "name": "_parent" },
|
|
215
|
+
{ "name": "_self" },
|
|
216
|
+
{ "name": "_top" }
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "rel",
|
|
221
|
+
"description": "The `rel` attribute to use on the link. Only used when `href` is set.",
|
|
222
|
+
"values": []
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
"references": []
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "dsa-button",
|
|
229
|
+
"description": "Buttons represent actions that are available to the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-blur** - Emitted when the button loses focus.\n- **dsa-focus** - Emitted when the button gains focus.\n- **dsa-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\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 - _default_ - The button's label.\n- **prefix** - A presentational prefix icon or similar element.\n- **suffix** - A presentational suffix icon or similar element.",
|
|
230
|
+
"attributes": [
|
|
231
|
+
{ "name": "title", "values": [] },
|
|
232
|
+
{
|
|
233
|
+
"name": "variant",
|
|
234
|
+
"description": "The button's theme variant.",
|
|
235
|
+
"values": [
|
|
236
|
+
{ "name": "" },
|
|
237
|
+
{ "name": "primary" },
|
|
238
|
+
{ "name": "secondary" },
|
|
239
|
+
{ "name": "tertiary" },
|
|
240
|
+
{ "name": "neutral" },
|
|
241
|
+
{ "name": "danger" },
|
|
242
|
+
{ "name": "navigation" }
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"name": "size",
|
|
247
|
+
"description": "The button's size.",
|
|
248
|
+
"values": [
|
|
249
|
+
{ "name": "small" },
|
|
250
|
+
{ "name": "medium" },
|
|
251
|
+
{ "name": "large" }
|
|
252
|
+
]
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "caret",
|
|
256
|
+
"description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior. This property should only be used within a `dsa-dropdown`",
|
|
257
|
+
"values": []
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "disabled",
|
|
261
|
+
"description": "Disables the button.",
|
|
262
|
+
"values": []
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "loading",
|
|
266
|
+
"description": "Draws the button in a loading state.",
|
|
267
|
+
"values": []
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "floating",
|
|
271
|
+
"description": "Draws the button with it's floating menu style. When this is false the default style is on base.",
|
|
272
|
+
"values": []
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "type",
|
|
276
|
+
"description": "The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native\n`<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.",
|
|
277
|
+
"values": [
|
|
278
|
+
{ "name": "button" },
|
|
279
|
+
{ "name": "submit" },
|
|
280
|
+
{ "name": "reset" }
|
|
281
|
+
]
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "name",
|
|
285
|
+
"description": "The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.\nThis attribute is ignored when `href` is present.",
|
|
286
|
+
"values": []
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "value",
|
|
290
|
+
"description": "The value of the button, submitted as a pair with the button's name as part of the form data, but only when this\nbutton is the submitter. This attribute is ignored when `href` is present.",
|
|
291
|
+
"values": []
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "href",
|
|
295
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
296
|
+
"values": []
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "target",
|
|
300
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
301
|
+
"values": [
|
|
302
|
+
{ "name": "_blank" },
|
|
303
|
+
{ "name": "_parent" },
|
|
304
|
+
{ "name": "_self" },
|
|
305
|
+
{ "name": "_top" }
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"name": "rel",
|
|
310
|
+
"description": "When using `href`, this attribute will map to the underlying link's `rel` attribute. Unlike regular links, the\ndefault is `noreferrer noopener` to prevent security exploits. However, if you're using `target` to point to a\nspecific tab/window, this will prevent that from working correctly. You can remove or change the default value by\nsetting the attribute to an empty string or a value of your choice, respectively.",
|
|
311
|
+
"values": []
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "download",
|
|
315
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
316
|
+
"values": []
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "form",
|
|
320
|
+
"description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
|
|
321
|
+
"values": []
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"name": "formaction",
|
|
325
|
+
"description": "Used to override the form owner's `action` attribute.",
|
|
326
|
+
"values": []
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"name": "formenctype",
|
|
330
|
+
"description": "Used to override the form owner's `enctype` attribute.",
|
|
331
|
+
"values": [
|
|
332
|
+
{ "name": "" },
|
|
333
|
+
{ "name": "application/x-www-form-urlencoded" },
|
|
334
|
+
{ "name": "multipart/form-data" },
|
|
335
|
+
{ "name": "text/plain" }
|
|
336
|
+
]
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"name": "formmethod",
|
|
340
|
+
"description": "Used to override the form owner's `method` attribute.",
|
|
341
|
+
"values": [{ "name": "post" }, { "name": "get" }]
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"name": "formnovalidate",
|
|
345
|
+
"description": "Used to override the form owner's `novalidate` attribute.",
|
|
346
|
+
"values": []
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"name": "formtarget",
|
|
350
|
+
"description": "Used to override the form owner's `target` attribute.",
|
|
351
|
+
"values": [
|
|
352
|
+
{ "name": "" },
|
|
353
|
+
{ "name": "_self" },
|
|
354
|
+
{ "name": "_blank" },
|
|
355
|
+
{ "name": "_parent" },
|
|
356
|
+
{ "name": "_top" }
|
|
357
|
+
]
|
|
358
|
+
}
|
|
359
|
+
],
|
|
360
|
+
"references": []
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "dsa-card",
|
|
364
|
+
"description": "Cards can be used to group related subjects in a container.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The card's main content.\n- **header** - An optional header for the card.\n- **footer** - An optional footer for the card.\n- **image** - An optional image to render at the start of the card.",
|
|
365
|
+
"attributes": [],
|
|
366
|
+
"references": []
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"name": "dsa-checkbox",
|
|
370
|
+
"description": "Checkboxes allow the user to toggle an option on or off.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-blur** - Emitted when the checkbox loses focus.\n- **dsa-change** - Emitted when the checked state changes.\n- **dsa-focus** - Emitted when the checkbox gains focus.\n- **dsa-input** - Emitted when the checkbox receives input.\n- **dsa-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\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. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.",
|
|
371
|
+
"attributes": [
|
|
372
|
+
{ "name": "title", "values": [] },
|
|
373
|
+
{
|
|
374
|
+
"name": "name",
|
|
375
|
+
"description": "The name of the checkbox, submitted as a name/value pair with form data.",
|
|
376
|
+
"values": []
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"name": "value",
|
|
380
|
+
"description": "The current value of the checkbox, submitted as a name/value pair with form data.",
|
|
381
|
+
"values": []
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"name": "size",
|
|
385
|
+
"description": "The checkbox's size.",
|
|
386
|
+
"values": [
|
|
387
|
+
{ "name": "small" },
|
|
388
|
+
{ "name": "medium" },
|
|
389
|
+
{ "name": "large" }
|
|
390
|
+
]
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "disabled",
|
|
394
|
+
"description": "Disables the checkbox.",
|
|
395
|
+
"values": []
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"name": "checked",
|
|
399
|
+
"description": "Draws the checkbox in a checked state.",
|
|
400
|
+
"values": []
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"name": "indeterminate",
|
|
404
|
+
"description": "Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a \"select\nall/none\" behavior when associated checkboxes have a mix of checked and unchecked states.",
|
|
405
|
+
"values": []
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"name": "error",
|
|
409
|
+
"description": "Indicates whether the checkbox's should be in error state",
|
|
410
|
+
"values": []
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"name": "error-message",
|
|
414
|
+
"description": "An error message that is shown when `error` is set to true",
|
|
415
|
+
"values": []
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"name": "form",
|
|
419
|
+
"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.",
|
|
420
|
+
"values": []
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"name": "required",
|
|
424
|
+
"description": "Makes the checkbox a required field.",
|
|
425
|
+
"values": []
|
|
426
|
+
}
|
|
427
|
+
],
|
|
428
|
+
"references": []
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"name": "dsa-checkbox-button",
|
|
432
|
+
"description": "Checkbox buttons allow the user to select multiple options from a group using a button-like control.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-blur** - Emitted when the button loses focus.\n- **dsa-focus** - Emitted when the button gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the checbox button.\n- **blur()** - Removes focus from the checkbox button.\n\n### **Slots:**\n - _default_ - The checkbox button's label.",
|
|
433
|
+
"attributes": [
|
|
434
|
+
{
|
|
435
|
+
"name": "value",
|
|
436
|
+
"description": "The checkbox's value. When selected, the checkbox group will receive this value.",
|
|
437
|
+
"values": []
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"name": "disabled",
|
|
441
|
+
"description": "Disables the checkbox button.",
|
|
442
|
+
"values": []
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"name": "size",
|
|
446
|
+
"description": "The checkbox button's size.",
|
|
447
|
+
"values": [
|
|
448
|
+
{ "name": "small" },
|
|
449
|
+
{ "name": "medium" },
|
|
450
|
+
{ "name": "large" }
|
|
451
|
+
]
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"name": "readonly",
|
|
455
|
+
"description": "Sets the checkbox button in readonly.",
|
|
456
|
+
"values": [{ "name": "false" }]
|
|
457
|
+
}
|
|
458
|
+
],
|
|
459
|
+
"references": []
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"name": "dsa-checkbox-group",
|
|
463
|
+
"description": "Checkbox groups are used to group multiple [checkbox](/components/checkbox) or [checkbox buttons](/components/checkbox-button) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-change** - Emitted when the checkbox group's selected value changes.\n- **dsa-input** - Emitted when the checkbox group receives user input.\n- **dsa-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\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(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<dsa-checkbox>` or `<dsa-checkbox-button>` elements are placed.\n- **label** - The checkbox group's label. Required for proper accessibility. 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.",
|
|
464
|
+
"attributes": [
|
|
465
|
+
{
|
|
466
|
+
"name": "label",
|
|
467
|
+
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
468
|
+
"values": []
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"name": "help-text",
|
|
472
|
+
"description": "The checkbox groups's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
473
|
+
"values": []
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"name": "name",
|
|
477
|
+
"description": "The name of the checkbox group, submitted as a name/value pair with form data.",
|
|
478
|
+
"values": []
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"name": "value",
|
|
482
|
+
"description": "The current value of the checkbox group, submitted as a name/value pair with form data. The value is a comma-delimited list of values based on the checked checkboxes.",
|
|
483
|
+
"values": [{ "name": "string[]" }]
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"name": "form",
|
|
487
|
+
"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.",
|
|
488
|
+
"values": []
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"name": "required",
|
|
492
|
+
"description": "Ensures a child checkbox is checked before allowing the containing form to submit.",
|
|
493
|
+
"values": []
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"name": "horizontal",
|
|
497
|
+
"description": "Sets the orientation of the checkbox options",
|
|
498
|
+
"values": []
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"name": "error",
|
|
502
|
+
"description": "Indicates whether the group should be in error state",
|
|
503
|
+
"values": []
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"name": "error-message",
|
|
507
|
+
"description": "An error message that is shown when `error` is set to true",
|
|
508
|
+
"values": []
|
|
509
|
+
}
|
|
510
|
+
],
|
|
511
|
+
"references": []
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"name": "dsa-dialog",
|
|
515
|
+
"description": "Dialogs, sometimes called \"modals\", appear above the page and require the user's immediate attention.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-show** - Emitted when the dialog opens.\n- **dsa-after-show** - Emitted after the dialog opens and all animations are complete.\n- **dsa-hide** - Emitted when the dialog closes.\n- **dsa-after-hide** - Emitted after the dialog closes and all animations are complete.\n- **dsa-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- **dsa-request-close** - {{ source: 'close-button' | 'keyboard' | 'overlay' }} - 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 `<dsa-icon-button>`.\n- **footer** - The dialog's footer, usually one or more buttons representing various options.",
|
|
516
|
+
"attributes": [
|
|
517
|
+
{
|
|
518
|
+
"name": "open",
|
|
519
|
+
"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.",
|
|
520
|
+
"values": []
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"name": "label",
|
|
524
|
+
"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.",
|
|
525
|
+
"values": []
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"name": "no-header",
|
|
529
|
+
"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.",
|
|
530
|
+
"values": []
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"name": "size",
|
|
534
|
+
"description": "The dialog's size.",
|
|
535
|
+
"values": [
|
|
536
|
+
{ "name": "small" },
|
|
537
|
+
{ "name": "medium" },
|
|
538
|
+
{ "name": "large" }
|
|
539
|
+
]
|
|
540
|
+
}
|
|
541
|
+
],
|
|
542
|
+
"references": []
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"name": "dsa-divider",
|
|
546
|
+
"description": "Dividers are used to visually separate or group elements.\n\n\n---\n\n\n",
|
|
547
|
+
"attributes": [
|
|
548
|
+
{
|
|
549
|
+
"name": "vertical",
|
|
550
|
+
"description": "Draws the divider in a vertical orientation.",
|
|
551
|
+
"values": []
|
|
552
|
+
}
|
|
553
|
+
],
|
|
554
|
+
"references": []
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"name": "dsa-drawer",
|
|
558
|
+
"description": "Drawers slide in from a container to expose additional options and information.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-show** - Emitted when the drawer opens.\n- **dsa-after-show** - Emitted after the drawer opens and all animations are complete.\n- **dsa-hide** - Emitted when the drawer closes.\n- **dsa-after-hide** - Emitted after the drawer closes and all animations are complete.\n- **dsa-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- **dsa-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 `<dsa-icon-button>`.\n- **footer** - The drawer's footer, usually one or more buttons representing various options.",
|
|
559
|
+
"attributes": [
|
|
560
|
+
{
|
|
561
|
+
"name": "open",
|
|
562
|
+
"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.",
|
|
563
|
+
"values": []
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"name": "label",
|
|
567
|
+
"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.",
|
|
568
|
+
"values": []
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"name": "placement",
|
|
572
|
+
"description": "The direction from which the drawer will open.",
|
|
573
|
+
"values": [
|
|
574
|
+
{ "name": "top" },
|
|
575
|
+
{ "name": "end" },
|
|
576
|
+
{ "name": "bottom" },
|
|
577
|
+
{ "name": "start" }
|
|
578
|
+
]
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"name": "contained",
|
|
582
|
+
"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.",
|
|
583
|
+
"values": []
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"name": "no-header",
|
|
587
|
+
"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.",
|
|
588
|
+
"values": []
|
|
589
|
+
}
|
|
590
|
+
],
|
|
591
|
+
"references": []
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"name": "dsa-dropdown",
|
|
595
|
+
"description": "Dropdowns expose additional content that \"drops down\" in a panel.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-show** - Emitted when the dropdown opens.\n- **dsa-after-show** - Emitted after the dropdown opens and all animations are complete.\n- **dsa-hide** - Emitted when the dropdown closes.\n- **dsa-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 `<dsa-button>` element.",
|
|
596
|
+
"attributes": [
|
|
597
|
+
{
|
|
598
|
+
"name": "open",
|
|
599
|
+
"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.",
|
|
600
|
+
"values": []
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"name": "placement",
|
|
604
|
+
"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.",
|
|
605
|
+
"values": [
|
|
606
|
+
{ "name": "" },
|
|
607
|
+
{ "name": "top" },
|
|
608
|
+
{ "name": "top-start" },
|
|
609
|
+
{ "name": "top-end" },
|
|
610
|
+
{ "name": "bottom" },
|
|
611
|
+
{ "name": "bottom-start" },
|
|
612
|
+
{ "name": "bottom-end" },
|
|
613
|
+
{ "name": "right" },
|
|
614
|
+
{ "name": "right-start" },
|
|
615
|
+
{ "name": "right-end" },
|
|
616
|
+
{ "name": "left" },
|
|
617
|
+
{ "name": "left-start" },
|
|
618
|
+
{ "name": "left-end" }
|
|
619
|
+
]
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"name": "disabled",
|
|
623
|
+
"description": "Disables the dropdown so the panel will not open.",
|
|
624
|
+
"values": []
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"name": "stay-open-on-select",
|
|
628
|
+
"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.",
|
|
629
|
+
"values": []
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"name": "skidding",
|
|
633
|
+
"description": "The distance in pixels from which to offset the panel along its trigger.",
|
|
634
|
+
"values": []
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"name": "hoist",
|
|
638
|
+
"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.",
|
|
639
|
+
"values": []
|
|
640
|
+
}
|
|
641
|
+
],
|
|
642
|
+
"references": []
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"name": "dsa-error-text",
|
|
646
|
+
"description": "Error Text can be used to display an error message under an input or a fieldset\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The error-text's main content.",
|
|
647
|
+
"attributes": [],
|
|
648
|
+
"references": []
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"name": "dsa-format-bytes",
|
|
652
|
+
"description": "Formats a number as a human readable bytes value.\n\n\n---\n\n\n",
|
|
653
|
+
"attributes": [
|
|
654
|
+
{
|
|
655
|
+
"name": "value",
|
|
656
|
+
"description": "The number to format in bytes.",
|
|
657
|
+
"values": []
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"name": "unit",
|
|
661
|
+
"description": "The type of unit to display.",
|
|
662
|
+
"values": [{ "name": "byte" }, { "name": "bit" }]
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"name": "display",
|
|
666
|
+
"description": "Determines how to display the result, e.g. \"100 bytes\", \"100 b\", or \"100b\".",
|
|
667
|
+
"values": [
|
|
668
|
+
{ "name": "long" },
|
|
669
|
+
{ "name": "short" },
|
|
670
|
+
{ "name": "narrow" }
|
|
671
|
+
]
|
|
672
|
+
}
|
|
673
|
+
],
|
|
674
|
+
"references": []
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"name": "dsa-format-date",
|
|
678
|
+
"description": "Formats a date/time using the specified locale and options.\n\n\n---\n\n\n",
|
|
679
|
+
"attributes": [
|
|
680
|
+
{
|
|
681
|
+
"name": "date",
|
|
682
|
+
"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).",
|
|
683
|
+
"values": [{ "name": "Date" }]
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"name": "weekday",
|
|
687
|
+
"description": "The format for displaying the weekday.",
|
|
688
|
+
"values": [
|
|
689
|
+
{ "name": "narrow" },
|
|
690
|
+
{ "name": "short" },
|
|
691
|
+
{ "name": "long" }
|
|
692
|
+
]
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"name": "era",
|
|
696
|
+
"description": "The format for displaying the era.",
|
|
697
|
+
"values": [
|
|
698
|
+
{ "name": "narrow" },
|
|
699
|
+
{ "name": "short" },
|
|
700
|
+
{ "name": "long" }
|
|
701
|
+
]
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"name": "year",
|
|
705
|
+
"description": "The format for displaying the year.",
|
|
706
|
+
"values": [{ "name": "numeric" }, { "name": "2-digit" }]
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"name": "month",
|
|
710
|
+
"description": "The format for displaying the month.",
|
|
711
|
+
"values": [
|
|
712
|
+
{ "name": "numeric" },
|
|
713
|
+
{ "name": "2-digit" },
|
|
714
|
+
{ "name": "narrow" },
|
|
715
|
+
{ "name": "short" },
|
|
716
|
+
{ "name": "long" }
|
|
717
|
+
]
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"name": "day",
|
|
721
|
+
"description": "The format for displaying the day.",
|
|
722
|
+
"values": [{ "name": "numeric" }, { "name": "2-digit" }]
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"name": "hour",
|
|
726
|
+
"description": "The format for displaying the hour.",
|
|
727
|
+
"values": [{ "name": "numeric" }, { "name": "2-digit" }]
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"name": "minute",
|
|
731
|
+
"description": "The format for displaying the minute.",
|
|
732
|
+
"values": [{ "name": "numeric" }, { "name": "2-digit" }]
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"name": "second",
|
|
736
|
+
"description": "The format for displaying the second.",
|
|
737
|
+
"values": [{ "name": "numeric" }, { "name": "2-digit" }]
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"name": "time-zone-name",
|
|
741
|
+
"description": "The format for displaying the time.",
|
|
742
|
+
"values": [{ "name": "short" }, { "name": "long" }]
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"name": "time-zone",
|
|
746
|
+
"description": "The time zone to express the time in.",
|
|
747
|
+
"values": []
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"name": "hour-format",
|
|
751
|
+
"description": "The format for displaying the hour.",
|
|
752
|
+
"values": [{ "name": "auto" }, { "name": "12" }, { "name": "24" }]
|
|
753
|
+
}
|
|
754
|
+
],
|
|
755
|
+
"references": []
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"name": "dsa-format-number",
|
|
759
|
+
"description": "Formats a number using the specified locale and options.\n\n\n---\n\n\n",
|
|
760
|
+
"attributes": [
|
|
761
|
+
{
|
|
762
|
+
"name": "value",
|
|
763
|
+
"description": "The number to format.",
|
|
764
|
+
"values": []
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"name": "type",
|
|
768
|
+
"description": "The formatting style to use.",
|
|
769
|
+
"values": [
|
|
770
|
+
{ "name": "currency" },
|
|
771
|
+
{ "name": "decimal" },
|
|
772
|
+
{ "name": "percent" }
|
|
773
|
+
]
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"name": "no-grouping",
|
|
777
|
+
"description": "Turns off grouping separators.",
|
|
778
|
+
"values": []
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"name": "currency",
|
|
782
|
+
"description": "The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code to use when formatting.",
|
|
783
|
+
"values": []
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"name": "currency-display",
|
|
787
|
+
"description": "How to display the currency.",
|
|
788
|
+
"values": [
|
|
789
|
+
{ "name": "" },
|
|
790
|
+
{ "name": "symbol" },
|
|
791
|
+
{ "name": "narrowSymbol" },
|
|
792
|
+
{ "name": "code" },
|
|
793
|
+
{ "name": "name" }
|
|
794
|
+
]
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"name": "minimum-integer-digits",
|
|
798
|
+
"description": "The minimum number of integer digits to use. Possible values are 1-21.",
|
|
799
|
+
"values": []
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"name": "minimum-fraction-digits",
|
|
803
|
+
"description": "The minimum number of fraction digits to use. Possible values are 0-20.",
|
|
804
|
+
"values": []
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
"name": "maximum-fraction-digits",
|
|
808
|
+
"description": "The maximum number of fraction digits to use. Possible values are 0-0.",
|
|
809
|
+
"values": []
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"name": "minimum-significant-digits",
|
|
813
|
+
"description": "The minimum number of significant digits to use. Possible values are 1-21.",
|
|
814
|
+
"values": []
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
"name": "maximum-significant-digits",
|
|
818
|
+
"description": "The maximum number of significant digits to use,. Possible values are 1-21.",
|
|
819
|
+
"values": []
|
|
820
|
+
}
|
|
821
|
+
],
|
|
822
|
+
"references": []
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"name": "dsa-icon",
|
|
826
|
+
"description": "Icons are symbols that can be used to represent various options within an application.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-load** - Emitted when the icon has loaded.\n- **dsa-error** - Emitted when the icon fails to load due to an error.",
|
|
827
|
+
"attributes": [
|
|
828
|
+
{
|
|
829
|
+
"name": "name",
|
|
830
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
831
|
+
"values": []
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"name": "src",
|
|
835
|
+
"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.",
|
|
836
|
+
"values": []
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
"name": "label",
|
|
840
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
841
|
+
"values": []
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
"name": "library",
|
|
845
|
+
"description": "The name of a registered custom icon library.",
|
|
846
|
+
"values": []
|
|
847
|
+
}
|
|
848
|
+
],
|
|
849
|
+
"references": []
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"name": "dsa-icon-button",
|
|
853
|
+
"description": "Icons buttons are simple, icon-only buttons that can be used for actions and in toolbars.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-blur** - Emitted when the icon button loses focus.\n- **dsa-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.",
|
|
854
|
+
"attributes": [
|
|
855
|
+
{
|
|
856
|
+
"name": "name",
|
|
857
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
858
|
+
"values": []
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"name": "library",
|
|
862
|
+
"description": "The name of a registered custom icon library.",
|
|
863
|
+
"values": []
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"name": "src",
|
|
867
|
+
"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.",
|
|
868
|
+
"values": []
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"name": "href",
|
|
872
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
873
|
+
"values": []
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"name": "target",
|
|
877
|
+
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
878
|
+
"values": [
|
|
879
|
+
{ "name": "_blank" },
|
|
880
|
+
{ "name": "_parent" },
|
|
881
|
+
{ "name": "_self" },
|
|
882
|
+
{ "name": "_top" }
|
|
883
|
+
]
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"name": "download",
|
|
887
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
|
|
888
|
+
"values": []
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"name": "label",
|
|
892
|
+
"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.",
|
|
893
|
+
"values": []
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"name": "disabled",
|
|
897
|
+
"description": "Disables the button.",
|
|
898
|
+
"values": []
|
|
899
|
+
}
|
|
900
|
+
],
|
|
901
|
+
"references": []
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"name": "dsa-include",
|
|
905
|
+
"description": "Includes give you the power to embed external HTML files into the page.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-load** - Emitted when the included file is loaded.\n- **dsa-error** - Emitted when the included file fails to load due to an error.",
|
|
906
|
+
"attributes": [
|
|
907
|
+
{
|
|
908
|
+
"name": "src",
|
|
909
|
+
"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.",
|
|
910
|
+
"values": []
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"name": "mode",
|
|
914
|
+
"description": "The fetch mode to use.",
|
|
915
|
+
"values": [
|
|
916
|
+
{ "name": "cors" },
|
|
917
|
+
{ "name": "no-cors" },
|
|
918
|
+
{ "name": "same-origin" }
|
|
919
|
+
]
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"name": "allow-scripts",
|
|
923
|
+
"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.",
|
|
924
|
+
"values": []
|
|
925
|
+
}
|
|
926
|
+
],
|
|
927
|
+
"references": []
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"name": "dsa-input",
|
|
931
|
+
"description": "Inputs collect data from the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-blur** - Emitted when the control loses focus.\n- **dsa-change** - Emitted when an alteration to the control's value is committed by the user.\n- **dsa-clear** - Emitted when the clear button is activated.\n- **dsa-focus** - Emitted when the control gains focus.\n- **dsa-input** - Emitted when the control receives input.\n- **dsa-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- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
932
|
+
"attributes": [
|
|
933
|
+
{
|
|
934
|
+
"name": "title",
|
|
935
|
+
"description": "The title contains a text representing advisory information related to the element it belongs to.",
|
|
936
|
+
"values": []
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"name": "type",
|
|
940
|
+
"description": "The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.",
|
|
941
|
+
"values": [{ "name": "DSAInputTypes" }]
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"name": "name",
|
|
945
|
+
"description": "The name of the input, submitted as a name/value pair with form data.",
|
|
946
|
+
"values": []
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"name": "value",
|
|
950
|
+
"description": "The current value of the input, submitted as a name/value pair with form data.",
|
|
951
|
+
"values": []
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"name": "size",
|
|
955
|
+
"description": "The input's size.",
|
|
956
|
+
"values": [
|
|
957
|
+
{ "name": "small" },
|
|
958
|
+
{ "name": "medium" },
|
|
959
|
+
{ "name": "large" }
|
|
960
|
+
]
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"name": "variant",
|
|
964
|
+
"description": "The input's variant.",
|
|
965
|
+
"values": [{ "name": "base" }, { "name": "layer" }]
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
"name": "label",
|
|
969
|
+
"description": "The input's label. If you need to display HTML, use the `label` slot instead.",
|
|
970
|
+
"values": []
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"name": "help-text",
|
|
974
|
+
"description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
975
|
+
"values": []
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"name": "clearable",
|
|
979
|
+
"description": "Adds a clear button when the input is not empty.",
|
|
980
|
+
"values": []
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"name": "disabled",
|
|
984
|
+
"description": "Disables the input.",
|
|
985
|
+
"values": []
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"name": "placeholder",
|
|
989
|
+
"description": "Placeholder text to show as a hint when the input is empty.",
|
|
990
|
+
"values": []
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"name": "readonly",
|
|
994
|
+
"description": "Makes the input readonly.",
|
|
995
|
+
"values": []
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"name": "password-visible",
|
|
999
|
+
"description": "Determines whether or not the password is currently visible. Only applies to password input types.",
|
|
1000
|
+
"values": []
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"name": "error",
|
|
1004
|
+
"description": "Indicates whether the input should be in error state",
|
|
1005
|
+
"values": []
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"name": "error-message",
|
|
1009
|
+
"description": "An error message that is shown when `error` is set to true",
|
|
1010
|
+
"values": []
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"name": "form",
|
|
1014
|
+
"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.",
|
|
1015
|
+
"values": []
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "required",
|
|
1019
|
+
"description": "Makes the input a required field.",
|
|
1020
|
+
"values": []
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"name": "pattern",
|
|
1024
|
+
"description": "A regular expression pattern to validate input against.",
|
|
1025
|
+
"values": []
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"name": "minlength",
|
|
1029
|
+
"description": "The minimum length of input that will be considered valid.",
|
|
1030
|
+
"values": []
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"name": "maxlength",
|
|
1034
|
+
"description": "The maximum length of input that will be considered valid.",
|
|
1035
|
+
"values": []
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"name": "min",
|
|
1039
|
+
"description": "The input's minimum value. Only applies to date and number input types.",
|
|
1040
|
+
"values": []
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"name": "max",
|
|
1044
|
+
"description": "The input's maximum value. Only applies to date and number input types.",
|
|
1045
|
+
"values": []
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
"name": "step",
|
|
1049
|
+
"description": "Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is\nimplied, allowing any numeric value. Only applies to date and number input types.",
|
|
1050
|
+
"values": [{ "name": "any" }]
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"name": "autocapitalize",
|
|
1054
|
+
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
1055
|
+
"values": [
|
|
1056
|
+
{ "name": "" },
|
|
1057
|
+
{ "name": "off" },
|
|
1058
|
+
{ "name": "none" },
|
|
1059
|
+
{ "name": "on" },
|
|
1060
|
+
{ "name": "sentences" },
|
|
1061
|
+
{ "name": "words" },
|
|
1062
|
+
{ "name": "characters" }
|
|
1063
|
+
]
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
"name": "autocorrect",
|
|
1067
|
+
"description": "Indicates whether the browser's autocorrect feature is on or off.",
|
|
1068
|
+
"values": [{ "name": "off" }, { "name": "on" }]
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
"name": "autocomplete",
|
|
1072
|
+
"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.",
|
|
1073
|
+
"values": []
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"name": "autofocus",
|
|
1077
|
+
"description": "Indicates that the input should receive focus on page load.",
|
|
1078
|
+
"values": []
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"name": "enterkeyhint",
|
|
1082
|
+
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
1083
|
+
"values": [
|
|
1084
|
+
{ "name": "" },
|
|
1085
|
+
{ "name": "enter" },
|
|
1086
|
+
{ "name": "done" },
|
|
1087
|
+
{ "name": "go" },
|
|
1088
|
+
{ "name": "next" },
|
|
1089
|
+
{ "name": "previous" },
|
|
1090
|
+
{ "name": "search" },
|
|
1091
|
+
{ "name": "send" }
|
|
1092
|
+
]
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
"name": "spellcheck",
|
|
1096
|
+
"description": "Enables spell checking on the input.",
|
|
1097
|
+
"values": []
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
"name": "inputmode",
|
|
1101
|
+
"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.",
|
|
1102
|
+
"values": [
|
|
1103
|
+
{ "name": "" },
|
|
1104
|
+
{ "name": "none" },
|
|
1105
|
+
{ "name": "text" },
|
|
1106
|
+
{ "name": "decimal" },
|
|
1107
|
+
{ "name": "numeric" },
|
|
1108
|
+
{ "name": "tel" },
|
|
1109
|
+
{ "name": "search" },
|
|
1110
|
+
{ "name": "email" },
|
|
1111
|
+
{ "name": "url" }
|
|
1112
|
+
]
|
|
1113
|
+
}
|
|
1114
|
+
],
|
|
1115
|
+
"references": []
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"name": "dsa-input-mask",
|
|
1119
|
+
"description": "Input Masks collect data from the user in a masked fashion.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-blur** - Emitted when the control loses focus.\n- **dsa-change** - Emitted when an alteration to the control's value is committed by the user.\n- **dsa-clear** - Emitted when the clear button is activated.\n- **dsa-focus** - Emitted when the control gains focus.\n- **dsa-input** - Emitted when the control receives input.\n- **dsa-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- **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- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
1120
|
+
"attributes": [
|
|
1121
|
+
{
|
|
1122
|
+
"name": "title",
|
|
1123
|
+
"description": "The title contains a text representing advisory information related to the element it belongs to.",
|
|
1124
|
+
"values": []
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
"name": "name",
|
|
1128
|
+
"description": "The name of the input, submitted as a name/value pair with form data.",
|
|
1129
|
+
"values": []
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
"name": "value",
|
|
1133
|
+
"description": "The current value of the input, submitted as a name/value pair with form data.",
|
|
1134
|
+
"values": []
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
"name": "size",
|
|
1138
|
+
"description": "The input's size.",
|
|
1139
|
+
"values": [
|
|
1140
|
+
{ "name": "small" },
|
|
1141
|
+
{ "name": "medium" },
|
|
1142
|
+
{ "name": "large" }
|
|
1143
|
+
]
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"name": "variant",
|
|
1147
|
+
"description": "The select's variant.",
|
|
1148
|
+
"values": [{ "name": "base" }, { "name": "layer" }]
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
"name": "label",
|
|
1152
|
+
"description": "The input's label. If you need to display HTML, use the `label` slot instead.",
|
|
1153
|
+
"values": []
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
"name": "help-text",
|
|
1157
|
+
"description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
1158
|
+
"values": []
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"name": "clearable",
|
|
1162
|
+
"description": "Adds a clear button when the input is not empty.",
|
|
1163
|
+
"values": []
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
"name": "disabled",
|
|
1167
|
+
"description": "Disables the input.",
|
|
1168
|
+
"values": []
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"name": "placeholder",
|
|
1172
|
+
"description": "Placeholder text to show as a hint when the input is empty. It is also used as a template to mask the value. Alphanumeric values represent the inputed characters.",
|
|
1173
|
+
"values": []
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
"name": "readonly",
|
|
1177
|
+
"description": "Makes the input readonly.",
|
|
1178
|
+
"values": []
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"name": "validate",
|
|
1182
|
+
"description": "Will check the enterred value against the passed pattern",
|
|
1183
|
+
"values": []
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"name": "error",
|
|
1187
|
+
"description": "Indicates whether the input should be in error state",
|
|
1188
|
+
"values": []
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
"name": "error-message",
|
|
1192
|
+
"description": "An error message that is shown when `error` is set to true",
|
|
1193
|
+
"values": []
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"name": "inputmode",
|
|
1197
|
+
"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.",
|
|
1198
|
+
"values": [
|
|
1199
|
+
{ "name": "none" },
|
|
1200
|
+
{ "name": "text" },
|
|
1201
|
+
{ "name": "decimal" },
|
|
1202
|
+
{ "name": "numeric" },
|
|
1203
|
+
{ "name": "search" }
|
|
1204
|
+
]
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
"name": "form",
|
|
1208
|
+
"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.",
|
|
1209
|
+
"values": []
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
"name": "required",
|
|
1213
|
+
"description": "Makes the input a required field.",
|
|
1214
|
+
"values": []
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"name": "pattern",
|
|
1218
|
+
"description": "A regular expression pattern to validate input against.",
|
|
1219
|
+
"values": []
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"name": "minlength",
|
|
1223
|
+
"description": "The minimum length of input that will be considered valid.",
|
|
1224
|
+
"values": []
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
"name": "autocorrect",
|
|
1228
|
+
"description": "Indicates whether the browser's autocorrect feature is on or off.",
|
|
1229
|
+
"values": [{ "name": "off" }, { "name": "on" }]
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
"name": "autocomplete",
|
|
1233
|
+
"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.",
|
|
1234
|
+
"values": []
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
"name": "autofocus",
|
|
1238
|
+
"description": "Indicates that the input should receive focus on page load.",
|
|
1239
|
+
"values": []
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
"name": "enterkeyhint",
|
|
1243
|
+
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
1244
|
+
"values": [
|
|
1245
|
+
{ "name": "" },
|
|
1246
|
+
{ "name": "enter" },
|
|
1247
|
+
{ "name": "done" },
|
|
1248
|
+
{ "name": "go" },
|
|
1249
|
+
{ "name": "next" },
|
|
1250
|
+
{ "name": "previous" },
|
|
1251
|
+
{ "name": "search" },
|
|
1252
|
+
{ "name": "send" }
|
|
1253
|
+
]
|
|
1254
|
+
}
|
|
1255
|
+
],
|
|
1256
|
+
"references": []
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"name": "dsa-input-phone",
|
|
1260
|
+
"description": "Inputs collect data from the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-blur** - Emitted when the control loses focus.\n- **dsa-change** - Emitted when an alteration to the control's value is committed by the user.\n- **dsa-clear** - Emitted when the clear button is activated.\n- **dsa-focus** - Emitted when the control gains focus.\n- **dsa-input** - Emitted when the control receives input.\n- **dsa-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- **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- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
1261
|
+
"attributes": [
|
|
1262
|
+
{
|
|
1263
|
+
"name": "title",
|
|
1264
|
+
"description": "The title contains a text representing advisory information related to the element it belongs to.",
|
|
1265
|
+
"values": []
|
|
1266
|
+
},
|
|
1267
|
+
{
|
|
1268
|
+
"name": "name",
|
|
1269
|
+
"description": "The name of the input, submitted as a name/value pair with form data.",
|
|
1270
|
+
"values": []
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"name": "value",
|
|
1274
|
+
"description": "The current phone number value in the E.164 format, submitted as a name/value pair with form data.",
|
|
1275
|
+
"values": []
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
"name": "size",
|
|
1279
|
+
"description": "The input's size.",
|
|
1280
|
+
"values": [
|
|
1281
|
+
{ "name": "small" },
|
|
1282
|
+
{ "name": "medium" },
|
|
1283
|
+
{ "name": "large" }
|
|
1284
|
+
]
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"name": "variant",
|
|
1288
|
+
"description": "The select's variant.",
|
|
1289
|
+
"values": [{ "name": "base" }, { "name": "layer" }]
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"name": "label",
|
|
1293
|
+
"description": "The input's label. If you need to display HTML, use the `label` slot instead.",
|
|
1294
|
+
"values": []
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
"name": "help-text",
|
|
1298
|
+
"description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
1299
|
+
"values": []
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"name": "clearable",
|
|
1303
|
+
"description": "Adds a clear button when the input is not empty.",
|
|
1304
|
+
"values": []
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
"name": "disabled",
|
|
1308
|
+
"description": "Disables the input.",
|
|
1309
|
+
"values": []
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
"name": "readonly",
|
|
1313
|
+
"description": "Makes the input readonly.",
|
|
1314
|
+
"values": []
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
"name": "validate",
|
|
1318
|
+
"description": "Will check the enterred value against the passed pattern",
|
|
1319
|
+
"values": []
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
"name": "error",
|
|
1323
|
+
"description": "Indicates whether the input should be in error state",
|
|
1324
|
+
"values": []
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"name": "error-message",
|
|
1328
|
+
"description": "An error message that is shown when `error` is set to true",
|
|
1329
|
+
"values": []
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
"name": "form",
|
|
1333
|
+
"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.",
|
|
1334
|
+
"values": []
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
"name": "required",
|
|
1338
|
+
"description": "Makes the input a required field.",
|
|
1339
|
+
"values": []
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
"name": "minlength",
|
|
1343
|
+
"description": "The minimum length of input that will be considered valid.",
|
|
1344
|
+
"values": []
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"name": "autocorrect",
|
|
1348
|
+
"description": "Indicates whether the browser's autocorrect feature is on or off.",
|
|
1349
|
+
"values": [{ "name": "off" }, { "name": "on" }]
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
"name": "autofocus",
|
|
1353
|
+
"description": "Indicates that the input should receive focus on page load.",
|
|
1354
|
+
"values": []
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"name": "enterkeyhint",
|
|
1358
|
+
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
1359
|
+
"values": [
|
|
1360
|
+
{ "name": "" },
|
|
1361
|
+
{ "name": "enter" },
|
|
1362
|
+
{ "name": "done" },
|
|
1363
|
+
{ "name": "go" },
|
|
1364
|
+
{ "name": "next" },
|
|
1365
|
+
{ "name": "previous" },
|
|
1366
|
+
{ "name": "search" },
|
|
1367
|
+
{ "name": "send" }
|
|
1368
|
+
]
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
"name": "placement",
|
|
1372
|
+
"description": "The preferred placement of the select's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
|
|
1373
|
+
"values": [{ "name": "top-start" }, { "name": "bottom-start" }]
|
|
1374
|
+
}
|
|
1375
|
+
],
|
|
1376
|
+
"references": []
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
"name": "dsa-menu",
|
|
1380
|
+
"description": "Menus provide a list of options for the user to choose from.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-select** - Emitted when a menu item is selected.\n\n### **Slots:**\n - _default_ - The menu's content, including menu items, menu labels, and dividers.",
|
|
1381
|
+
"attributes": [],
|
|
1382
|
+
"references": []
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
"name": "dsa-menu-item",
|
|
1386
|
+
"description": "Menu items provide options for the user to pick from in a menu.\n\n\n---\n\n\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a text label based on the contents of the menu item's default slot.\n\n### **Slots:**\n - _default_ - The menu item's label.\n- **prefix** - Used to prepend an icon or similar element to the menu item.\n- **suffix** - Used to append an icon or similar element to the menu item.",
|
|
1387
|
+
"attributes": [
|
|
1388
|
+
{
|
|
1389
|
+
"name": "type",
|
|
1390
|
+
"description": "The type of menu item to render. To use `checked`, this value must be set to `checkbox`.",
|
|
1391
|
+
"values": [{ "name": "normal" }, { "name": "checkbox" }]
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"name": "size",
|
|
1395
|
+
"description": "The menu item's size.",
|
|
1396
|
+
"values": [
|
|
1397
|
+
{ "name": "small" },
|
|
1398
|
+
{ "name": "medium" },
|
|
1399
|
+
{ "name": "large" }
|
|
1400
|
+
]
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
"name": "checked",
|
|
1404
|
+
"description": "Draws the item in a checked state.",
|
|
1405
|
+
"values": []
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"name": "value",
|
|
1409
|
+
"description": "A unique value to store in the menu item. This can be used as a way to identify menu items when selected.",
|
|
1410
|
+
"values": []
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
"name": "disabled",
|
|
1414
|
+
"description": "Draws the menu item in a disabled state, preventing selection.",
|
|
1415
|
+
"values": []
|
|
1416
|
+
}
|
|
1417
|
+
],
|
|
1418
|
+
"references": []
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
"name": "dsa-menu-label",
|
|
1422
|
+
"description": "Menu labels are used to describe a group of menu items.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The menu label's content.",
|
|
1423
|
+
"attributes": [],
|
|
1424
|
+
"references": []
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
"name": "dsa-mutation-observer",
|
|
1428
|
+
"description": "The Mutation Observer component offers a thin, declarative interface to the [`MutationObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver).\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-mutation** - Emitted when a mutation occurs.\n\n### **Slots:**\n - _default_ - The content to watch for mutations.",
|
|
1429
|
+
"attributes": [
|
|
1430
|
+
{
|
|
1431
|
+
"name": "attr",
|
|
1432
|
+
"description": "Watches for changes to attributes. To watch only specific attributes, separate them by a space, e.g.\n`attr=\"class id title\"`. To watch all attributes, use `*`.",
|
|
1433
|
+
"values": []
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"name": "attr-old-value",
|
|
1437
|
+
"description": "Indicates whether or not the attribute's previous value should be recorded when monitoring changes.",
|
|
1438
|
+
"values": []
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
"name": "char-data",
|
|
1442
|
+
"description": "Watches for changes to the character data contained within the node.",
|
|
1443
|
+
"values": []
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
"name": "char-data-old-value",
|
|
1447
|
+
"description": "Indicates whether or not the previous value of the node's text should be recorded.",
|
|
1448
|
+
"values": []
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
"name": "child-list",
|
|
1452
|
+
"description": "Watches for the addition or removal of new child nodes.",
|
|
1453
|
+
"values": []
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"name": "disabled",
|
|
1457
|
+
"description": "Disables the observer.",
|
|
1458
|
+
"values": []
|
|
1459
|
+
}
|
|
1460
|
+
],
|
|
1461
|
+
"references": []
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"name": "dsa-option",
|
|
1465
|
+
"description": "Options define the selectable items within various form controls such as [select](/components/select).\n\n\n---\n\n\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a plain text label based on the option's content.\n\n### **Slots:**\n - _default_ - The option's label.\n- **prefix** - Used to prepend an icon or similar element to the menu item.\n- **suffix** - Used to append an icon or similar element to the menu item.",
|
|
1466
|
+
"attributes": [
|
|
1467
|
+
{
|
|
1468
|
+
"name": "value",
|
|
1469
|
+
"description": "The option's value. When selected, the containing form control will receive this value. The value must be unique\nfrom other options in the same group. Values may not contain spaces, as spaces are used as delimiters when listing\nmultiple values.",
|
|
1470
|
+
"values": []
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"name": "disabled",
|
|
1474
|
+
"description": "Draws the option in a disabled state, preventing selection.",
|
|
1475
|
+
"values": []
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
"name": "size",
|
|
1479
|
+
"description": "The option's size.",
|
|
1480
|
+
"values": [
|
|
1481
|
+
{ "name": "small" },
|
|
1482
|
+
{ "name": "medium" },
|
|
1483
|
+
{ "name": "large" }
|
|
1484
|
+
]
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"name": "error",
|
|
1488
|
+
"description": "Indicates whether the input should be in error state",
|
|
1489
|
+
"values": []
|
|
1490
|
+
}
|
|
1491
|
+
],
|
|
1492
|
+
"references": []
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"name": "dsa-popup",
|
|
1496
|
+
"description": "Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-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.",
|
|
1497
|
+
"attributes": [
|
|
1498
|
+
{
|
|
1499
|
+
"name": "anchor",
|
|
1500
|
+
"description": "The element the popup will be anchored to. If the anchor lives outside of the popup, you can provide its `id` or a\nreference to it here. If the anchor lives inside the popup, use the `anchor` slot instead.",
|
|
1501
|
+
"values": [{ "name": "Element" }]
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
"name": "active",
|
|
1505
|
+
"description": "Activates the positioning logic and shows the popup. When this attribute is removed, the positioning logic is torn\ndown and the popup will be hidden.",
|
|
1506
|
+
"values": []
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
"name": "placement",
|
|
1510
|
+
"description": "The preferred placement of the popup. Note that the actual placement will vary as configured to keep the\npanel inside of the viewport.",
|
|
1511
|
+
"values": [
|
|
1512
|
+
{ "name": "" },
|
|
1513
|
+
{ "name": "top" },
|
|
1514
|
+
{ "name": "top-start" },
|
|
1515
|
+
{ "name": "top-end" },
|
|
1516
|
+
{ "name": "bottom" },
|
|
1517
|
+
{ "name": "bottom-start" },
|
|
1518
|
+
{ "name": "bottom-end" },
|
|
1519
|
+
{ "name": "right" },
|
|
1520
|
+
{ "name": "right-start" },
|
|
1521
|
+
{ "name": "right-end" },
|
|
1522
|
+
{ "name": "left" },
|
|
1523
|
+
{ "name": "left-start" },
|
|
1524
|
+
{ "name": "left-end" }
|
|
1525
|
+
]
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
"name": "strategy",
|
|
1529
|
+
"description": "Determines how the popup is positioned. The `absolute` strategy works well in most cases, but if overflow is\nclipped, using a `fixed` position strategy can often workaround it.",
|
|
1530
|
+
"values": [{ "name": "absolute" }, { "name": "fixed" }]
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
"name": "distance",
|
|
1534
|
+
"description": "The distance in pixels from which to offset the panel away from its anchor.",
|
|
1535
|
+
"values": []
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
"name": "skidding",
|
|
1539
|
+
"description": "The distance in pixels from which to offset the panel along its anchor.",
|
|
1540
|
+
"values": []
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"name": "arrow",
|
|
1544
|
+
"description": "Attaches an arrow to the popup. The arrow's size and color can be customized using the `--arrow-size` and\n`--arrow-color` custom properties. For additional customizations, you can also target the arrow using\n`::part(arrow)` in your stylesheet.",
|
|
1545
|
+
"values": []
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"name": "arrow-placement",
|
|
1549
|
+
"description": "The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the\nanchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will\nalign the arrow to the start, end, or center of the popover instead.",
|
|
1550
|
+
"values": [
|
|
1551
|
+
{ "name": "" },
|
|
1552
|
+
{ "name": "start" },
|
|
1553
|
+
{ "name": "end" },
|
|
1554
|
+
{ "name": "center" },
|
|
1555
|
+
{ "name": "anchor" }
|
|
1556
|
+
]
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
"name": "arrow-padding",
|
|
1560
|
+
"description": "The amount of padding between the arrow and the edges of the popup. If the popup has a border-radius, for example,\nthis will prevent it from overflowing the corners.",
|
|
1561
|
+
"values": []
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
"name": "flip",
|
|
1565
|
+
"description": "When set, placement of the popup will flip to the opposite site to keep it in view. You can use\n`flipFallbackPlacements` to further configure how the fallback placement is determined.",
|
|
1566
|
+
"values": []
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
"name": "flip-fallback-placements",
|
|
1570
|
+
"description": "If the preferred placement doesn't fit, popup will be tested in these fallback placements until one fits. Must be a\nstring of any number of placements separated by a space, e.g. \"top bottom left\". If no placement fits, the flip\nfallback strategy will be used instead.",
|
|
1571
|
+
"values": []
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
"name": "flip-fallback-strategy",
|
|
1575
|
+
"description": "When neither the preferred placement nor the fallback placements fit, this value will be used to determine whether\nthe popup should be positioned using the best available fit based on available space or as it was initially\npreferred.",
|
|
1576
|
+
"values": [
|
|
1577
|
+
{ "name": "" },
|
|
1578
|
+
{ "name": "best-fit" },
|
|
1579
|
+
{ "name": "initial" }
|
|
1580
|
+
]
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
"name": "flipBoundary",
|
|
1584
|
+
"description": "The flip boundary describes clipping element(s) that overflow will be checked relative to when flipping. By\ndefault, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\nchange the boundary by passing a reference to one or more elements to this property.",
|
|
1585
|
+
"values": [{ "name": "Element" }, { "name": "Element[]" }]
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
"name": "flip-padding",
|
|
1589
|
+
"description": "The amount of padding, in pixels, to exceed before the flip behavior will occur.",
|
|
1590
|
+
"values": []
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
"name": "shift",
|
|
1594
|
+
"description": "Moves the popup along the axis to keep it in view when clipped.",
|
|
1595
|
+
"values": []
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
"name": "shiftBoundary",
|
|
1599
|
+
"description": "The shift boundary describes clipping element(s) that overflow will be checked relative to when shifting. By\ndefault, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\nchange the boundary by passing a reference to one or more elements to this property.",
|
|
1600
|
+
"values": [{ "name": "Element" }, { "name": "Element[]" }]
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"name": "shift-padding",
|
|
1604
|
+
"description": "The amount of padding, in pixels, to exceed before the shift behavior will occur.",
|
|
1605
|
+
"values": []
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"name": "auto-size",
|
|
1609
|
+
"description": "When set, this will cause the popup to automatically resize itself to prevent it from overflowing.",
|
|
1610
|
+
"values": [
|
|
1611
|
+
{ "name": "" },
|
|
1612
|
+
{ "name": "horizontal" },
|
|
1613
|
+
{ "name": "vertical" },
|
|
1614
|
+
{ "name": "both" }
|
|
1615
|
+
]
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
"name": "sync",
|
|
1619
|
+
"description": "Syncs the popup's width or height to that of the anchor element.",
|
|
1620
|
+
"values": [
|
|
1621
|
+
{ "name": "width" },
|
|
1622
|
+
{ "name": "height" },
|
|
1623
|
+
{ "name": "both" }
|
|
1624
|
+
]
|
|
1625
|
+
},
|
|
1626
|
+
{
|
|
1627
|
+
"name": "autoSizeBoundary",
|
|
1628
|
+
"description": "The auto-size boundary describes clipping element(s) that overflow will be checked relative to when resizing. By\ndefault, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\nchange the boundary by passing a reference to one or more elements to this property.",
|
|
1629
|
+
"values": [{ "name": "Element" }, { "name": "Element[]" }]
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"name": "auto-size-padding",
|
|
1633
|
+
"description": "The amount of padding, in pixels, to exceed before the auto-size behavior will occur.",
|
|
1634
|
+
"values": []
|
|
1635
|
+
}
|
|
1636
|
+
],
|
|
1637
|
+
"references": []
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
"name": "dsa-progress-bar",
|
|
1641
|
+
"description": "Progress bars are used to show the status of an ongoing operation.\n\n\n---\n\n\n",
|
|
1642
|
+
"attributes": [
|
|
1643
|
+
{
|
|
1644
|
+
"name": "value",
|
|
1645
|
+
"description": "The current progress as a percentage, 0 to 100.",
|
|
1646
|
+
"values": []
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
"name": "indeterminate",
|
|
1650
|
+
"description": "When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.",
|
|
1651
|
+
"values": []
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"name": "label",
|
|
1655
|
+
"description": "A custom label for assistive devices.",
|
|
1656
|
+
"values": []
|
|
1657
|
+
}
|
|
1658
|
+
],
|
|
1659
|
+
"references": []
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
"name": "dsa-progress-ring",
|
|
1663
|
+
"description": "Progress rings are used to show the progress of a determinate operation in a circular fashion.\n\n\n---\n\n\n",
|
|
1664
|
+
"attributes": [
|
|
1665
|
+
{
|
|
1666
|
+
"name": "value",
|
|
1667
|
+
"description": "The current progress as a percentage, 0 to 100.",
|
|
1668
|
+
"values": []
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
"name": "label",
|
|
1672
|
+
"description": "A custom label for assistive devices.",
|
|
1673
|
+
"values": []
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"name": "size",
|
|
1677
|
+
"description": "The progress-ring's size.",
|
|
1678
|
+
"values": [{ "name": "small" }, { "name": "medium" }]
|
|
1679
|
+
}
|
|
1680
|
+
],
|
|
1681
|
+
"references": []
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
"name": "dsa-radio",
|
|
1685
|
+
"description": "Radios allow the user to select a single option from a group.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-blur** - Emitted when the control loses focus.\n- **dsa-focus** - Emitted when the control gains focus.\n\n### **Slots:**\n - _default_ - The radio's label.",
|
|
1686
|
+
"attributes": [
|
|
1687
|
+
{
|
|
1688
|
+
"name": "value",
|
|
1689
|
+
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
1690
|
+
"values": []
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"name": "size",
|
|
1694
|
+
"description": "The radio's size.",
|
|
1695
|
+
"values": [
|
|
1696
|
+
{ "name": "small" },
|
|
1697
|
+
{ "name": "medium" },
|
|
1698
|
+
{ "name": "large" }
|
|
1699
|
+
]
|
|
1700
|
+
},
|
|
1701
|
+
{
|
|
1702
|
+
"name": "disabled",
|
|
1703
|
+
"description": "Disables the radio.",
|
|
1704
|
+
"values": []
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"name": "error",
|
|
1708
|
+
"description": "Indicates whether the radio should be in error state",
|
|
1709
|
+
"values": []
|
|
1710
|
+
}
|
|
1711
|
+
],
|
|
1712
|
+
"references": []
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
"name": "dsa-radio-button",
|
|
1716
|
+
"description": "Radios buttons allow the user to select a single option from a group using a button-like control.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-blur** - Emitted when the button loses focus.\n- **dsa-focus** - Emitted when the button gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the radio button.\n- **blur()** - Removes focus from the radio button.\n\n### **Slots:**\n - _default_ - The radio button's label.",
|
|
1717
|
+
"attributes": [
|
|
1718
|
+
{
|
|
1719
|
+
"name": "value",
|
|
1720
|
+
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
1721
|
+
"values": []
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
"name": "disabled",
|
|
1725
|
+
"description": "Disables the radio button.",
|
|
1726
|
+
"values": []
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
"name": "size",
|
|
1730
|
+
"description": "The radio button's size.",
|
|
1731
|
+
"values": [
|
|
1732
|
+
{ "name": "small" },
|
|
1733
|
+
{ "name": "medium" },
|
|
1734
|
+
{ "name": "large" }
|
|
1735
|
+
]
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
"name": "readonly",
|
|
1739
|
+
"description": "Sets the radio button in readonly.",
|
|
1740
|
+
"values": [{ "name": "false" }]
|
|
1741
|
+
}
|
|
1742
|
+
],
|
|
1743
|
+
"references": []
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"name": "dsa-radio-group",
|
|
1747
|
+
"description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-change** - Emitted when the radio group's selected value changes.\n- **dsa-input** - Emitted when the radio group receives user input.\n- **dsa-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\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(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<dsa-radio>` or `<dsa-radio-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. 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- **tooltip** - The tooltip slot allows additional information to be passed along the label",
|
|
1748
|
+
"attributes": [
|
|
1749
|
+
{
|
|
1750
|
+
"name": "label",
|
|
1751
|
+
"description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
1752
|
+
"values": []
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"name": "help-text",
|
|
1756
|
+
"description": "The radio groups's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
1757
|
+
"values": []
|
|
1758
|
+
},
|
|
1759
|
+
{
|
|
1760
|
+
"name": "name",
|
|
1761
|
+
"description": "The name of the radio group, submitted as a name/value pair with form data.",
|
|
1762
|
+
"values": []
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
"name": "value",
|
|
1766
|
+
"description": "The current value of the radio group, submitted as a name/value pair with form data.",
|
|
1767
|
+
"values": []
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
"name": "deselectable",
|
|
1771
|
+
"description": "Deselect a radio value if it has been clicked again",
|
|
1772
|
+
"values": []
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
"name": "form",
|
|
1776
|
+
"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.",
|
|
1777
|
+
"values": []
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
"name": "required",
|
|
1781
|
+
"description": "Ensures a child radio is checked before allowing the containing form to submit.",
|
|
1782
|
+
"values": []
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"name": "horizontal",
|
|
1786
|
+
"description": "Sets the orientation of the radio options",
|
|
1787
|
+
"values": []
|
|
1788
|
+
},
|
|
1789
|
+
{
|
|
1790
|
+
"name": "error",
|
|
1791
|
+
"description": "Indicates whether the input should be in error state",
|
|
1792
|
+
"values": []
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
"name": "error-message",
|
|
1796
|
+
"description": "An error message that is shown when `error` is set to true",
|
|
1797
|
+
"values": []
|
|
1798
|
+
}
|
|
1799
|
+
],
|
|
1800
|
+
"references": []
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
"name": "dsa-relative-time",
|
|
1804
|
+
"description": "Outputs a localized time phrase relative to the current date and time.\n\n\n---\n\n\n",
|
|
1805
|
+
"attributes": [
|
|
1806
|
+
{
|
|
1807
|
+
"name": "date",
|
|
1808
|
+
"description": "The date from which to calculate time from. If not set, the current date and time will be used. When passing a\nstring, it's strongly recommended to use the ISO 8601 format to ensure timezones are handled correctly. To convert\na date to this format in JavaScript, use [`date.toISOString()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString).",
|
|
1809
|
+
"values": [{ "name": "Date" }]
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
"name": "format",
|
|
1813
|
+
"description": "The formatting style to use.",
|
|
1814
|
+
"values": [
|
|
1815
|
+
{ "name": "long" },
|
|
1816
|
+
{ "name": "short" },
|
|
1817
|
+
{ "name": "narrow" }
|
|
1818
|
+
]
|
|
1819
|
+
},
|
|
1820
|
+
{
|
|
1821
|
+
"name": "numeric",
|
|
1822
|
+
"description": "When `auto`, values such as \"yesterday\" and \"tomorrow\" will be shown when possible. When `always`, values such as\n\"1 day ago\" and \"in 1 day\" will be shown.",
|
|
1823
|
+
"values": [{ "name": "always" }, { "name": "auto" }]
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
"name": "sync",
|
|
1827
|
+
"description": "Keep the displayed value up to date as time passes.",
|
|
1828
|
+
"values": []
|
|
1829
|
+
}
|
|
1830
|
+
],
|
|
1831
|
+
"references": []
|
|
1832
|
+
},
|
|
1833
|
+
{
|
|
1834
|
+
"name": "dsa-resize-observer",
|
|
1835
|
+
"description": "The Resize Observer component offers a thin, declarative interface to the [`ResizeObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-resize** - Emitted when the element is resized.\n\n### **Slots:**\n - _default_ - One or more elements to watch for resizing.",
|
|
1836
|
+
"attributes": [
|
|
1837
|
+
{
|
|
1838
|
+
"name": "disabled",
|
|
1839
|
+
"description": "Disables the observer.",
|
|
1840
|
+
"values": []
|
|
1841
|
+
}
|
|
1842
|
+
],
|
|
1843
|
+
"references": []
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
"name": "dsa-select",
|
|
1847
|
+
"description": "Selects allow you to choose items from a menu of predefined options.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-change** - Emitted when the control's value changes.\n- **dsa-clear** - Emitted when the control's value is cleared.\n- **dsa-input** - Emitted when the control receives input.\n- **dsa-focus** - Emitted when the control gains focus.\n- **dsa-blur** - Emitted when the control loses focus.\n- **dsa-show** - Emitted when the select's menu opens.\n- **dsa-after-show** - Emitted after the select's menu opens and all animations are complete.\n- **dsa-hide** - Emitted when the select's menu closes.\n- **dsa-after-hide** - Emitted after the select's menu closes and all animations are complete.\n- **dsa-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 `<dsa-option>` elements. You can use `<dsa-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- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
1848
|
+
"attributes": [
|
|
1849
|
+
{
|
|
1850
|
+
"name": "name",
|
|
1851
|
+
"description": "The name of the select, submitted as a name/value pair with form data.",
|
|
1852
|
+
"values": []
|
|
1853
|
+
},
|
|
1854
|
+
{
|
|
1855
|
+
"name": "title",
|
|
1856
|
+
"description": "The title contains a text representing advisory information related to the element it belongs to.",
|
|
1857
|
+
"values": []
|
|
1858
|
+
},
|
|
1859
|
+
{
|
|
1860
|
+
"name": "value",
|
|
1861
|
+
"description": "The current value of the select, submitted as a name/value pair with form data. When `multiple` is enabled, the\nvalue will be a space-delimited list of values based on the options selected.",
|
|
1862
|
+
"values": [{ "name": "string[]" }]
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"name": "size",
|
|
1866
|
+
"description": "The select's size.",
|
|
1867
|
+
"values": [
|
|
1868
|
+
{ "name": "small" },
|
|
1869
|
+
{ "name": "medium" },
|
|
1870
|
+
{ "name": "large" }
|
|
1871
|
+
]
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
"name": "placeholder",
|
|
1875
|
+
"description": "Placeholder text to show as a hint when the select is empty.",
|
|
1876
|
+
"values": []
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"name": "multiple",
|
|
1880
|
+
"description": "Allows more than one option to be selected.",
|
|
1881
|
+
"values": []
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
"name": "variant",
|
|
1885
|
+
"description": "The select's variant.",
|
|
1886
|
+
"values": [{ "name": "base" }, { "name": "layer" }]
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
"name": "max-options-visible",
|
|
1890
|
+
"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.",
|
|
1891
|
+
"values": []
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
"name": "disabled",
|
|
1895
|
+
"description": "Disables the select control.",
|
|
1896
|
+
"values": []
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
"name": "clearable",
|
|
1900
|
+
"description": "Adds a clear button when the select is not empty.",
|
|
1901
|
+
"values": []
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
"name": "open",
|
|
1905
|
+
"description": "Indicates whether or not the select is open. You can toggle this attribute to show and hide the menu, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the select's open state.",
|
|
1906
|
+
"values": []
|
|
1907
|
+
},
|
|
1908
|
+
{
|
|
1909
|
+
"name": "hoist",
|
|
1910
|
+
"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.",
|
|
1911
|
+
"values": []
|
|
1912
|
+
},
|
|
1913
|
+
{
|
|
1914
|
+
"name": "label",
|
|
1915
|
+
"description": "The select's label. If you need to display HTML, use the `label` slot instead.",
|
|
1916
|
+
"values": []
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
"name": "placement",
|
|
1920
|
+
"description": "The preferred placement of the select's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
|
|
1921
|
+
"values": [
|
|
1922
|
+
{ "name": "" },
|
|
1923
|
+
{ "name": "top" },
|
|
1924
|
+
{ "name": "top-start" },
|
|
1925
|
+
{ "name": "top-end" },
|
|
1926
|
+
{ "name": "bottom" },
|
|
1927
|
+
{ "name": "bottom-start" },
|
|
1928
|
+
{ "name": "bottom-end" }
|
|
1929
|
+
]
|
|
1930
|
+
},
|
|
1931
|
+
{
|
|
1932
|
+
"name": "help-text",
|
|
1933
|
+
"description": "The select's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
1934
|
+
"values": []
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"name": "form",
|
|
1938
|
+
"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.",
|
|
1939
|
+
"values": []
|
|
1940
|
+
},
|
|
1941
|
+
{
|
|
1942
|
+
"name": "required",
|
|
1943
|
+
"description": "The select's required attribute.",
|
|
1944
|
+
"values": []
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
"name": "error",
|
|
1948
|
+
"description": "Indicates whether the input should be in error state",
|
|
1949
|
+
"values": []
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
"name": "error-message",
|
|
1953
|
+
"description": "An error message that is shown when `error` is set to true",
|
|
1954
|
+
"values": []
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
"name": "display-value",
|
|
1958
|
+
"description": "When true it displays the option's value instead of the label",
|
|
1959
|
+
"values": []
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
"name": "no-sync-width",
|
|
1963
|
+
"description": "When set to true, the Popup's width is no longer equal to its anchor's width",
|
|
1964
|
+
"values": []
|
|
1965
|
+
}
|
|
1966
|
+
],
|
|
1967
|
+
"references": []
|
|
1968
|
+
},
|
|
1969
|
+
{
|
|
1970
|
+
"name": "dsa-skeleton",
|
|
1971
|
+
"description": "Skeletons are used to provide a visual representation of where content will eventually be drawn.\n\n\n---\n\n\n\n\n### **CSS Properties:**\n - **--border-radius** - The skeleton's border radius. _(default: undefined)_\n- **--color** - The color of the skeleton. _(default: undefined)_\n- **--sheen-color** - The sheen color when the skeleton is in its loading state. _(default: undefined)_",
|
|
1972
|
+
"attributes": [
|
|
1973
|
+
{
|
|
1974
|
+
"name": "effect",
|
|
1975
|
+
"description": "Determines which effect the skeleton will use.",
|
|
1976
|
+
"values": [
|
|
1977
|
+
{ "name": "pulse" },
|
|
1978
|
+
{ "name": "sheen" },
|
|
1979
|
+
{ "name": "none" }
|
|
1980
|
+
]
|
|
1981
|
+
}
|
|
1982
|
+
],
|
|
1983
|
+
"references": []
|
|
1984
|
+
},
|
|
1985
|
+
{
|
|
1986
|
+
"name": "dsa-spinner",
|
|
1987
|
+
"description": "Spinners are used to show the progress of an indeterminate operation.\n\n\n---\n\n\n\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
1988
|
+
"attributes": [
|
|
1989
|
+
{
|
|
1990
|
+
"name": "variant",
|
|
1991
|
+
"description": "The sprinner's variant.",
|
|
1992
|
+
"values": [{ "name": "base" }, { "name": "floating" }]
|
|
1993
|
+
}
|
|
1994
|
+
],
|
|
1995
|
+
"references": []
|
|
1996
|
+
},
|
|
1997
|
+
{
|
|
1998
|
+
"name": "dsa-tab",
|
|
1999
|
+
"description": "Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-close** - Emitted when the tab is closable and the close button is activated.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus to the tab.\n- **blur()** - Removes focus from the tab.\n\n### **Slots:**\n - _default_ - The tab's label.",
|
|
2000
|
+
"attributes": [
|
|
2001
|
+
{
|
|
2002
|
+
"name": "panel",
|
|
2003
|
+
"description": "The name of the tab panel this tab is associated with. The panel must be located in the same tab group.",
|
|
2004
|
+
"values": []
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
"name": "active",
|
|
2008
|
+
"description": "Draws the tab in an active state.",
|
|
2009
|
+
"values": []
|
|
2010
|
+
},
|
|
2011
|
+
{
|
|
2012
|
+
"name": "closable",
|
|
2013
|
+
"description": "Makes the tab closable and shows a close button.",
|
|
2014
|
+
"values": []
|
|
2015
|
+
},
|
|
2016
|
+
{
|
|
2017
|
+
"name": "disabled",
|
|
2018
|
+
"description": "Disables the tab and prevents selection.",
|
|
2019
|
+
"values": []
|
|
2020
|
+
}
|
|
2021
|
+
],
|
|
2022
|
+
"references": []
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
"name": "dsa-tab-group",
|
|
2026
|
+
"description": "Tab groups organize content into a container that shows one section at a time.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-tab-show** - Emitted when a tab is shown.\n- **dsa-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show(panel: _string_)** - Shows the specified tab panel.\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<dsa-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<dsa-tab>` elements.",
|
|
2027
|
+
"attributes": [
|
|
2028
|
+
{
|
|
2029
|
+
"name": "activation",
|
|
2030
|
+
"description": "When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel. When set to\nmanual, the tab will receive focus but will not show until the user presses spacebar or enter.",
|
|
2031
|
+
"values": [{ "name": "auto" }, { "name": "manual" }]
|
|
2032
|
+
}
|
|
2033
|
+
],
|
|
2034
|
+
"references": []
|
|
2035
|
+
},
|
|
2036
|
+
{
|
|
2037
|
+
"name": "dsa-tab-panel",
|
|
2038
|
+
"description": "Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The tab panel's content.",
|
|
2039
|
+
"attributes": [
|
|
2040
|
+
{
|
|
2041
|
+
"name": "name",
|
|
2042
|
+
"description": "The tab panel's name.",
|
|
2043
|
+
"values": []
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
"name": "active",
|
|
2047
|
+
"description": "When true, the tab panel will be shown.",
|
|
2048
|
+
"values": []
|
|
2049
|
+
}
|
|
2050
|
+
],
|
|
2051
|
+
"references": []
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
"name": "dsa-tag",
|
|
2055
|
+
"description": "Tags are used as labels to organize things or to indicate a selection.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-remove** - Emitted when the remove button is activated.\n\n### **Slots:**\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.",
|
|
2056
|
+
"attributes": [
|
|
2057
|
+
{
|
|
2058
|
+
"name": "variant",
|
|
2059
|
+
"description": "The tag's theme variant.",
|
|
2060
|
+
"values": [
|
|
2061
|
+
{ "name": "" },
|
|
2062
|
+
{ "name": "purple-100" },
|
|
2063
|
+
{ "name": "purple-200" },
|
|
2064
|
+
{ "name": "purple-300" },
|
|
2065
|
+
{ "name": "purple-400" },
|
|
2066
|
+
{ "name": "purple-500" },
|
|
2067
|
+
{ "name": "blue-100" },
|
|
2068
|
+
{ "name": "blue-200" },
|
|
2069
|
+
{ "name": "blue-300" },
|
|
2070
|
+
{ "name": "blue-400" },
|
|
2071
|
+
{ "name": "blue-500" },
|
|
2072
|
+
{ "name": "blue-600" },
|
|
2073
|
+
{ "name": "orange-100" },
|
|
2074
|
+
{ "name": "orange-200" },
|
|
2075
|
+
{ "name": "orange-300" },
|
|
2076
|
+
{ "name": "orange-400" },
|
|
2077
|
+
{ "name": "orange-500" },
|
|
2078
|
+
{ "name": "orange-600" },
|
|
2079
|
+
{ "name": "pink-100" },
|
|
2080
|
+
{ "name": "pink-200" },
|
|
2081
|
+
{ "name": "pink-300" },
|
|
2082
|
+
{ "name": "pink-400" },
|
|
2083
|
+
{ "name": "pink-500" },
|
|
2084
|
+
{ "name": "yellow-100" },
|
|
2085
|
+
{ "name": "yellow-200" },
|
|
2086
|
+
{ "name": "yellow-300" },
|
|
2087
|
+
{ "name": "yellow-400" },
|
|
2088
|
+
{ "name": "yellow-500" },
|
|
2089
|
+
{ "name": "yellow-600" },
|
|
2090
|
+
{ "name": "yellow-700" },
|
|
2091
|
+
{ "name": "green-100" },
|
|
2092
|
+
{ "name": "green-200" },
|
|
2093
|
+
{ "name": "green-300" },
|
|
2094
|
+
{ "name": "green-400" },
|
|
2095
|
+
{ "name": "green-500" },
|
|
2096
|
+
{ "name": "green-600" },
|
|
2097
|
+
{ "name": "green-700" }
|
|
2098
|
+
]
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
"name": "size",
|
|
2102
|
+
"description": "The tag's size.",
|
|
2103
|
+
"values": [
|
|
2104
|
+
{ "name": "small" },
|
|
2105
|
+
{ "name": "medium" },
|
|
2106
|
+
{ "name": "large" }
|
|
2107
|
+
]
|
|
2108
|
+
},
|
|
2109
|
+
{
|
|
2110
|
+
"name": "removable",
|
|
2111
|
+
"description": "Makes the tag removable and shows a remove button.",
|
|
2112
|
+
"values": []
|
|
2113
|
+
},
|
|
2114
|
+
{ "name": "label", "values": [] }
|
|
2115
|
+
],
|
|
2116
|
+
"references": []
|
|
2117
|
+
},
|
|
2118
|
+
{
|
|
2119
|
+
"name": "dsa-textarea",
|
|
2120
|
+
"description": "Textareas collect data from the user and allow multiple lines of text.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-blur** - Emitted when the control loses focus.\n- **dsa-change** - Emitted when an alteration to the control's value is committed by the user.\n- **dsa-focus** - Emitted when the control gains focus.\n- **dsa-input** - Emitted when the control receives input.\n- **dsa-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: _{\n top?: number;\n left?: number;\n }_): _{ 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.",
|
|
2121
|
+
"attributes": [
|
|
2122
|
+
{ "name": "title", "values": [] },
|
|
2123
|
+
{
|
|
2124
|
+
"name": "name",
|
|
2125
|
+
"description": "The name of the textarea, submitted as a name/value pair with form data.",
|
|
2126
|
+
"values": []
|
|
2127
|
+
},
|
|
2128
|
+
{
|
|
2129
|
+
"name": "value",
|
|
2130
|
+
"description": "The current value of the textarea, submitted as a name/value pair with form data.",
|
|
2131
|
+
"values": []
|
|
2132
|
+
},
|
|
2133
|
+
{
|
|
2134
|
+
"name": "size",
|
|
2135
|
+
"description": "The textarea's size.",
|
|
2136
|
+
"values": [
|
|
2137
|
+
{ "name": "small" },
|
|
2138
|
+
{ "name": "medium" },
|
|
2139
|
+
{ "name": "large" }
|
|
2140
|
+
]
|
|
2141
|
+
},
|
|
2142
|
+
{
|
|
2143
|
+
"name": "variant",
|
|
2144
|
+
"description": "The textarea's variant.",
|
|
2145
|
+
"values": [{ "name": "base" }, { "name": "layer" }]
|
|
2146
|
+
},
|
|
2147
|
+
{
|
|
2148
|
+
"name": "error",
|
|
2149
|
+
"description": "Indicates whether the textarea should be in error state",
|
|
2150
|
+
"values": []
|
|
2151
|
+
},
|
|
2152
|
+
{
|
|
2153
|
+
"name": "error-message",
|
|
2154
|
+
"description": "An error message that is shown when `error` is set to true",
|
|
2155
|
+
"values": []
|
|
2156
|
+
},
|
|
2157
|
+
{
|
|
2158
|
+
"name": "label",
|
|
2159
|
+
"description": "The textarea's label. If you need to display HTML, use the `label` slot instead.",
|
|
2160
|
+
"values": []
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"name": "help-text",
|
|
2164
|
+
"description": "The textarea's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
2165
|
+
"values": []
|
|
2166
|
+
},
|
|
2167
|
+
{
|
|
2168
|
+
"name": "placeholder",
|
|
2169
|
+
"description": "Placeholder text to show as a hint when the input is empty.",
|
|
2170
|
+
"values": []
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
"name": "rows",
|
|
2174
|
+
"description": "The number of rows to display by default.",
|
|
2175
|
+
"values": []
|
|
2176
|
+
},
|
|
2177
|
+
{
|
|
2178
|
+
"name": "resize",
|
|
2179
|
+
"description": "Controls how the textarea can be resized.",
|
|
2180
|
+
"values": [
|
|
2181
|
+
{ "name": "none" },
|
|
2182
|
+
{ "name": "vertical" },
|
|
2183
|
+
{ "name": "auto" }
|
|
2184
|
+
]
|
|
2185
|
+
},
|
|
2186
|
+
{
|
|
2187
|
+
"name": "disabled",
|
|
2188
|
+
"description": "Disables the textarea.",
|
|
2189
|
+
"values": []
|
|
2190
|
+
},
|
|
2191
|
+
{
|
|
2192
|
+
"name": "readonly",
|
|
2193
|
+
"description": "Makes the textarea readonly.",
|
|
2194
|
+
"values": []
|
|
2195
|
+
},
|
|
2196
|
+
{
|
|
2197
|
+
"name": "form",
|
|
2198
|
+
"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.",
|
|
2199
|
+
"values": []
|
|
2200
|
+
},
|
|
2201
|
+
{
|
|
2202
|
+
"name": "required",
|
|
2203
|
+
"description": "Makes the textarea a required field.",
|
|
2204
|
+
"values": []
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
"name": "minlength",
|
|
2208
|
+
"description": "The minimum length of input that will be considered valid.",
|
|
2209
|
+
"values": []
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
"name": "maxlength",
|
|
2213
|
+
"description": "The maximum length of input that will be considered valid.",
|
|
2214
|
+
"values": []
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
"name": "autocapitalize",
|
|
2218
|
+
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
2219
|
+
"values": [
|
|
2220
|
+
{ "name": "" },
|
|
2221
|
+
{ "name": "off" },
|
|
2222
|
+
{ "name": "none" },
|
|
2223
|
+
{ "name": "on" },
|
|
2224
|
+
{ "name": "sentences" },
|
|
2225
|
+
{ "name": "words" },
|
|
2226
|
+
{ "name": "characters" }
|
|
2227
|
+
]
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
"name": "autocorrect",
|
|
2231
|
+
"description": "Indicates whether the browser's autocorrect feature is on or off.",
|
|
2232
|
+
"values": []
|
|
2233
|
+
},
|
|
2234
|
+
{
|
|
2235
|
+
"name": "autocomplete",
|
|
2236
|
+
"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.",
|
|
2237
|
+
"values": []
|
|
2238
|
+
},
|
|
2239
|
+
{
|
|
2240
|
+
"name": "autofocus",
|
|
2241
|
+
"description": "Indicates that the input should receive focus on page load.",
|
|
2242
|
+
"values": []
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
"name": "enterkeyhint",
|
|
2246
|
+
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
2247
|
+
"values": [
|
|
2248
|
+
{ "name": "" },
|
|
2249
|
+
{ "name": "enter" },
|
|
2250
|
+
{ "name": "done" },
|
|
2251
|
+
{ "name": "go" },
|
|
2252
|
+
{ "name": "next" },
|
|
2253
|
+
{ "name": "previous" },
|
|
2254
|
+
{ "name": "search" },
|
|
2255
|
+
{ "name": "send" }
|
|
2256
|
+
]
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
"name": "spellcheck",
|
|
2260
|
+
"description": "Enables spell checking on the textarea.",
|
|
2261
|
+
"values": []
|
|
2262
|
+
},
|
|
2263
|
+
{
|
|
2264
|
+
"name": "inputmode",
|
|
2265
|
+
"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.",
|
|
2266
|
+
"values": [
|
|
2267
|
+
{ "name": "" },
|
|
2268
|
+
{ "name": "none" },
|
|
2269
|
+
{ "name": "text" },
|
|
2270
|
+
{ "name": "decimal" },
|
|
2271
|
+
{ "name": "numeric" },
|
|
2272
|
+
{ "name": "tel" },
|
|
2273
|
+
{ "name": "search" },
|
|
2274
|
+
{ "name": "email" },
|
|
2275
|
+
{ "name": "url" }
|
|
2276
|
+
]
|
|
2277
|
+
}
|
|
2278
|
+
],
|
|
2279
|
+
"references": []
|
|
2280
|
+
},
|
|
2281
|
+
{
|
|
2282
|
+
"name": "dsa-tooltip",
|
|
2283
|
+
"description": "Tooltips display additional information based on a specific action.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-show** - Emitted when the tooltip begins to show.\n- **dsa-after-show** - Emitted after the tooltip has shown and all animations are complete.\n- **dsa-hide** - Emitted when the tooltip begins to hide.\n- **dsa-after-hide** - Emitted after the tooltip has hidden and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the tooltip.\n- **hide()** - Hides the tooltip\n\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n- **content** - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the tooltip before its content will wrap. _(default: undefined)_\n- **--hide-delay** - The amount of time to wait before hiding the tooltip when hovering. _(default: undefined)_\n- **--show-delay** - The amount of time to wait before showing the tooltip when hovering. _(default: undefined)_",
|
|
2284
|
+
"attributes": [
|
|
2285
|
+
{
|
|
2286
|
+
"name": "content",
|
|
2287
|
+
"description": "The tooltip's content. If you need to display HTML, use the `content` slot instead.",
|
|
2288
|
+
"values": []
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
"name": "placement",
|
|
2292
|
+
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
2293
|
+
"values": [
|
|
2294
|
+
{ "name": "" },
|
|
2295
|
+
{ "name": "top" },
|
|
2296
|
+
{ "name": "top-start" },
|
|
2297
|
+
{ "name": "top-end" },
|
|
2298
|
+
{ "name": "right" },
|
|
2299
|
+
{ "name": "right-start" },
|
|
2300
|
+
{ "name": "right-end" },
|
|
2301
|
+
{ "name": "bottom" },
|
|
2302
|
+
{ "name": "bottom-start" },
|
|
2303
|
+
{ "name": "bottom-end" },
|
|
2304
|
+
{ "name": "left" },
|
|
2305
|
+
{ "name": "left-start" },
|
|
2306
|
+
{ "name": "left-end" }
|
|
2307
|
+
]
|
|
2308
|
+
},
|
|
2309
|
+
{
|
|
2310
|
+
"name": "disabled",
|
|
2311
|
+
"description": "Disables the tooltip so it won't show when triggered.",
|
|
2312
|
+
"values": []
|
|
2313
|
+
},
|
|
2314
|
+
{
|
|
2315
|
+
"name": "distance",
|
|
2316
|
+
"description": "The distance in pixels from which to offset the tooltip away from its target.",
|
|
2317
|
+
"values": []
|
|
2318
|
+
},
|
|
2319
|
+
{
|
|
2320
|
+
"name": "open",
|
|
2321
|
+
"description": "Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods.",
|
|
2322
|
+
"values": []
|
|
2323
|
+
},
|
|
2324
|
+
{
|
|
2325
|
+
"name": "skidding",
|
|
2326
|
+
"description": "The distance in pixels from which to offset the tooltip along its target.",
|
|
2327
|
+
"values": []
|
|
2328
|
+
},
|
|
2329
|
+
{
|
|
2330
|
+
"name": "trigger",
|
|
2331
|
+
"description": "Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\noptions can be passed by separating them with a space. When manual is used, the tooltip must be activated\nprogrammatically.",
|
|
2332
|
+
"values": []
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
"name": "hoist",
|
|
2336
|
+
"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.",
|
|
2337
|
+
"values": []
|
|
2338
|
+
}
|
|
2339
|
+
],
|
|
2340
|
+
"references": []
|
|
2341
|
+
},
|
|
2342
|
+
{
|
|
2343
|
+
"name": "dsa-tree",
|
|
2344
|
+
"description": "Trees allow you to display a hierarchical list of selectable [tree items](/components/tree-item). Items with children can be expanded and collapsed as desired by the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-selection-change** - Emitted when a tree item is selected or deselected.\n\n### **Slots:**\n - _default_ - The default slot.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
2345
|
+
"attributes": [
|
|
2346
|
+
{
|
|
2347
|
+
"name": "selection",
|
|
2348
|
+
"description": "The selection behavior of the tree. Single selection allows only one node to be selected at a time. Multiple\ndisplays checkboxes and allows more than one node to be selected. Leaf allows only leaf nodes to be selected.",
|
|
2349
|
+
"values": [
|
|
2350
|
+
{ "name": "single" },
|
|
2351
|
+
{ "name": "multiple" },
|
|
2352
|
+
{ "name": "leaf" }
|
|
2353
|
+
]
|
|
2354
|
+
}
|
|
2355
|
+
],
|
|
2356
|
+
"references": []
|
|
2357
|
+
},
|
|
2358
|
+
{
|
|
2359
|
+
"name": "dsa-tree-item",
|
|
2360
|
+
"description": "A tree item serves as a hierarchical node that lives inside a [tree](/components/tree).\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-expand** - Emitted when the tree item expands.\n- **dsa-after-expand** - Emitted after the tree item expands and all animations are complete.\n- **dsa-collapse** - Emitted when the tree item collapses.\n- **dsa-after-collapse** - Emitted after the tree item collapses and all animations are complete.\n- **dsa-lazy-change** - Emitted when the tree item's lazy state changes.\n- **dsa-lazy-load** - Emitted when a lazy item is selected. Use this event to asynchronously load data and append items to the tree before expanding. After appending new items, remove the `lazy` attribute to remove the loading state and update the tree.\n\n### **Methods:**\n - **getChildrenItems({\n includeDisabled = true,\n }: _{ includeDisabled?: boolean }_): _DSATreeItem[]_** - Gets all the nested tree items in this node.\n\n### **Slots:**\n - _default_ - The default slot.",
|
|
2361
|
+
"attributes": [
|
|
2362
|
+
{
|
|
2363
|
+
"name": "expanded",
|
|
2364
|
+
"description": "Expands the tree item.",
|
|
2365
|
+
"values": []
|
|
2366
|
+
},
|
|
2367
|
+
{
|
|
2368
|
+
"name": "selected",
|
|
2369
|
+
"description": "Draws the tree item in a selected state.",
|
|
2370
|
+
"values": []
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
"name": "disabled",
|
|
2374
|
+
"description": "Disables the tree item.",
|
|
2375
|
+
"values": []
|
|
2376
|
+
},
|
|
2377
|
+
{
|
|
2378
|
+
"name": "lazy",
|
|
2379
|
+
"description": "Enables lazy loading behavior.",
|
|
2380
|
+
"values": []
|
|
2381
|
+
}
|
|
2382
|
+
],
|
|
2383
|
+
"references": []
|
|
2384
|
+
},
|
|
2385
|
+
{
|
|
2386
|
+
"name": "dsa-visually-hidden",
|
|
2387
|
+
"description": "The visually hidden utility makes content accessible to assistive devices without displaying it on the screen.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The content to be visually hidden.",
|
|
2388
|
+
"attributes": [],
|
|
2389
|
+
"references": []
|
|
2390
|
+
}
|
|
2391
|
+
]
|
|
2392
|
+
}
|