@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,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
en_default,
|
|
3
|
+
registerTranslation
|
|
4
|
+
} from "../chunks/chunk.5XL2LZLC.js";
|
|
5
|
+
import {
|
|
6
|
+
__spreadProps,
|
|
7
|
+
__spreadValues
|
|
8
|
+
} from "../chunks/chunk.6M63UXML.js";
|
|
9
|
+
|
|
10
|
+
// src/translations/en-gb.ts
|
|
11
|
+
var translation = __spreadProps(__spreadValues({}, en_default), {
|
|
12
|
+
$code: "en-GB",
|
|
13
|
+
$name: "English (United Kingdom)",
|
|
14
|
+
selectAColorFromTheScreen: "Select a colour from the screen",
|
|
15
|
+
toggleColorFormat: "Toggle colour format"
|
|
16
|
+
});
|
|
17
|
+
registerTranslation(translation);
|
|
18
|
+
var en_gb_default = translation;
|
|
19
|
+
export {
|
|
20
|
+
en_gb_default as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface ElementAnimation {
|
|
2
|
+
keyframes: Keyframe[];
|
|
3
|
+
rtlKeyframes?: Keyframe[];
|
|
4
|
+
options?: KeyframeAnimationOptions;
|
|
5
|
+
}
|
|
6
|
+
export interface ElementAnimationMap {
|
|
7
|
+
[animationName: string]: ElementAnimation;
|
|
8
|
+
}
|
|
9
|
+
export interface GetAnimationOptions {
|
|
10
|
+
/**
|
|
11
|
+
* The component's directionality. When set to "rtl", `rtlKeyframes` will be preferred over `keyframes` where
|
|
12
|
+
* available using getAnimation().
|
|
13
|
+
*/
|
|
14
|
+
dir: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Sets a default animation. Components should use the `name.animation` for primary animations and `name.part.animation`
|
|
18
|
+
* for secondary animations, e.g. `dialog.show` and `dialog.overlay.show`. For modifiers, use `drawer.showTop`.
|
|
19
|
+
*/
|
|
20
|
+
export declare function setDefaultAnimation(animationName: string, animation: ElementAnimation | null): void;
|
|
21
|
+
/** Sets a custom animation for the specified element. */
|
|
22
|
+
export declare function setAnimation(el: Element, animationName: string, animation: ElementAnimation | null): void;
|
|
23
|
+
/** Gets an element's animation. Falls back to the default if no animation is found. */
|
|
24
|
+
export declare function getAnimation(el: Element, animationName: string, options: GetAnimationOptions): ElementAnimation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getAnimationNames, getEasingNames, } from '../components/animation/animations';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** Sets the library's base path to the specified directory. */
|
|
2
|
+
export declare function setBasePath(path: string): void;
|
|
3
|
+
/**
|
|
4
|
+
* Gets the library's base path.
|
|
5
|
+
*
|
|
6
|
+
* The base path is used to load assets such as icons and images, so it needs to be set for components to work properly.
|
|
7
|
+
* By default, this script will look for a script ending in design-system.js or design-system-autoloader.js and set the base path
|
|
8
|
+
* to the directory that contains that file. To override this behavior, you can add the data-design-system attribute to any
|
|
9
|
+
* script on the page (it probably makes the most sense to attach it to the design-system script, but it could also be on a
|
|
10
|
+
* bundle). The value can be a local folder or it can point to a CORS-enabled endpoint such as a CDN.
|
|
11
|
+
*
|
|
12
|
+
* <script src="bundle.js" data-design-system="/custom/base/path"></script>
|
|
13
|
+
*
|
|
14
|
+
* Alternatively, you can set the base path manually using the exported setBasePath() function.
|
|
15
|
+
*
|
|
16
|
+
* @param subpath - An optional path to append to the base path.
|
|
17
|
+
*/
|
|
18
|
+
export declare function getBasePath(subpath?: string): string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Serializes a form and returns a plain object. If a form control with the same name appears more than once, the
|
|
3
|
+
* property will be converted to an array.
|
|
4
|
+
*/
|
|
5
|
+
export declare function serialize(form: HTMLFormElement): Record<string, unknown>;
|
|
6
|
+
/**
|
|
7
|
+
* Returns all form controls that are associated with the specified form. Includes both native and custom form
|
|
8
|
+
* controls. Use this function in lieu of the `HTMLFormElement.elements` property, which doesn't recognize custom
|
|
9
|
+
* form controls.
|
|
10
|
+
*/
|
|
11
|
+
export declare function getFormControls(form: HTMLFormElement): Element[];
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
formCollections
|
|
3
|
+
} from "../chunks/chunk.KIFBWPW5.js";
|
|
4
|
+
import "../chunks/chunk.6M63UXML.js";
|
|
5
|
+
|
|
6
|
+
// src/utilities/form.ts
|
|
7
|
+
function serialize(form) {
|
|
8
|
+
const formData = new FormData(form);
|
|
9
|
+
const object = {};
|
|
10
|
+
formData.forEach((value, key) => {
|
|
11
|
+
if (Reflect.has(object, key)) {
|
|
12
|
+
const entry = object[key];
|
|
13
|
+
if (Array.isArray(entry)) {
|
|
14
|
+
entry.push(value);
|
|
15
|
+
} else {
|
|
16
|
+
object[key] = [object[key], value];
|
|
17
|
+
}
|
|
18
|
+
} else {
|
|
19
|
+
object[key] = value;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
return object;
|
|
23
|
+
}
|
|
24
|
+
function getFormControls(form) {
|
|
25
|
+
const rootNode = form.getRootNode();
|
|
26
|
+
const allNodes = [...rootNode.querySelectorAll("*")];
|
|
27
|
+
const formControls = [...form.elements];
|
|
28
|
+
const collection = formCollections.get(form);
|
|
29
|
+
const shoelaceFormControls = collection ? Array.from(collection) : [];
|
|
30
|
+
return [...formControls, ...shoelaceFormControls].sort(
|
|
31
|
+
(a, b) => {
|
|
32
|
+
if (allNodes.indexOf(a) < allNodes.indexOf(b))
|
|
33
|
+
return -1;
|
|
34
|
+
if (allNodes.indexOf(a) > allNodes.indexOf(b))
|
|
35
|
+
return 1;
|
|
36
|
+
return 0;
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
export {
|
|
41
|
+
getFormControls,
|
|
42
|
+
serialize
|
|
43
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { registerIconLibrary, unregisterIconLibrary, } from '../components/icon/library';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "../chunks/chunk.HAL7R4WT.js";
|
|
2
|
+
import {
|
|
3
|
+
registerIconLibrary,
|
|
4
|
+
unregisterIconLibrary
|
|
5
|
+
} from "../chunks/chunk.7J7CS3BK.js";
|
|
6
|
+
import "../chunks/chunk.RDGMZ5XB.js";
|
|
7
|
+
import "../chunks/chunk.I33L3NO6.js";
|
|
8
|
+
import "../chunks/chunk.FDYFSRSX.js";
|
|
9
|
+
import "../chunks/chunk.6M63UXML.js";
|
|
10
|
+
export {
|
|
11
|
+
registerIconLibrary,
|
|
12
|
+
unregisterIconLibrary
|
|
13
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { LocalizeController as DefaultLocalizationController } from '@shoelace-style/localize';
|
|
2
|
+
import type { Translation as DefaultTranslation } from '@shoelace-style/localize';
|
|
3
|
+
import '../translations/en';
|
|
4
|
+
import '../translations/fr';
|
|
5
|
+
export declare class LocalizeController extends DefaultLocalizationController<Translation> {
|
|
6
|
+
}
|
|
7
|
+
export { registerTranslation } from '@shoelace-style/localize';
|
|
8
|
+
export interface Translation extends DefaultTranslation {
|
|
9
|
+
$code: string;
|
|
10
|
+
$name: string;
|
|
11
|
+
$dir: 'ltr' | 'rtl';
|
|
12
|
+
carousel: string;
|
|
13
|
+
clearEntry: string;
|
|
14
|
+
close: string;
|
|
15
|
+
copy: string;
|
|
16
|
+
youAreHere: string;
|
|
17
|
+
countryCallingCode: string;
|
|
18
|
+
currentValue: string;
|
|
19
|
+
goToSlide: (slide: number, count: number) => string;
|
|
20
|
+
hidePassword: string;
|
|
21
|
+
loading: string;
|
|
22
|
+
nextSlide: string;
|
|
23
|
+
numOptionsSelected: (num: number) => string;
|
|
24
|
+
previousSlide: string;
|
|
25
|
+
progress: string;
|
|
26
|
+
remove: string;
|
|
27
|
+
resize: string;
|
|
28
|
+
scrollToEnd: string;
|
|
29
|
+
scrollToStart: string;
|
|
30
|
+
selectAColorFromTheScreen: string;
|
|
31
|
+
showPassword: string;
|
|
32
|
+
slideNum: (slide: number) => string;
|
|
33
|
+
toggleColorFormat: string;
|
|
34
|
+
fr_FR: string;
|
|
35
|
+
fr_GP: string;
|
|
36
|
+
fr_GF: string;
|
|
37
|
+
fr_MQ: string;
|
|
38
|
+
fr_RE: string;
|
|
39
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { Decorator } from '@storybook/web-components';
|
|
2
|
+
export declare const updateCompleteArgTypes: {
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
control: boolean;
|
|
6
|
+
table: {
|
|
7
|
+
type: {
|
|
8
|
+
summary: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare const errorArgTypes: {
|
|
13
|
+
name: string;
|
|
14
|
+
description: string;
|
|
15
|
+
table: {
|
|
16
|
+
defaultValue: {
|
|
17
|
+
summary: string;
|
|
18
|
+
};
|
|
19
|
+
type: {
|
|
20
|
+
summary: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
control: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export declare const errorMessageArgTypes: {
|
|
28
|
+
name: string;
|
|
29
|
+
description: string;
|
|
30
|
+
table: {
|
|
31
|
+
defaultValue: {
|
|
32
|
+
summary: string;
|
|
33
|
+
};
|
|
34
|
+
type: {
|
|
35
|
+
summary: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
control: {
|
|
39
|
+
type: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Decorators
|
|
44
|
+
*/
|
|
45
|
+
export declare const withOnLayerOnBaseDecorator: Decorator;
|
|
46
|
+
export declare const withOnFloatingMenuOnBaseDecorator: Decorator;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import "../chunks/chunk.6M63UXML.js";
|
|
2
|
+
|
|
3
|
+
// src/utilities/storybook.ts
|
|
4
|
+
import { html } from "lit";
|
|
5
|
+
var updateCompleteArgTypes = {
|
|
6
|
+
name: "updateComplete",
|
|
7
|
+
description: "A read-only promise that resolves when the component has finished updating",
|
|
8
|
+
control: false,
|
|
9
|
+
table: {
|
|
10
|
+
type: { summary: "() => void" }
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
var errorArgTypes = {
|
|
14
|
+
name: "error",
|
|
15
|
+
description: "Indicates whether the component should be in error state ",
|
|
16
|
+
table: {
|
|
17
|
+
defaultValue: { summary: "false" },
|
|
18
|
+
type: {
|
|
19
|
+
summary: "boolean"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
control: { type: "boolean" }
|
|
23
|
+
};
|
|
24
|
+
var errorMessageArgTypes = {
|
|
25
|
+
name: "error-message",
|
|
26
|
+
description: "An error message that is shown when `error` is set to true.",
|
|
27
|
+
table: {
|
|
28
|
+
defaultValue: { summary: "''" },
|
|
29
|
+
type: {
|
|
30
|
+
summary: "string"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
control: { type: "text" }
|
|
34
|
+
};
|
|
35
|
+
var withOnLayerOnBaseDecorator = (story, context) => {
|
|
36
|
+
var _a;
|
|
37
|
+
return html` <div
|
|
38
|
+
style="background-color:var(--dsa-color-background-${(_a = context.args.variant) != null ? _a : "base"}); padding:20px;"
|
|
39
|
+
>
|
|
40
|
+
${story()}
|
|
41
|
+
</div>`;
|
|
42
|
+
};
|
|
43
|
+
var withOnFloatingMenuOnBaseDecorator = (story, context) => html` <div
|
|
44
|
+
style=" padding:20px; background-color:var(${context.args.variant === "floating" || context.args["?floating"] ? "--dsa-color-background-floating-menu" : "--dsa-color-background-base"}); display:inline-flex;"
|
|
45
|
+
>
|
|
46
|
+
${story()}
|
|
47
|
+
</div>`;
|
|
48
|
+
export {
|
|
49
|
+
errorArgTypes,
|
|
50
|
+
errorMessageArgTypes,
|
|
51
|
+
updateCompleteArgTypes,
|
|
52
|
+
withOnFloatingMenuOnBaseDecorator,
|
|
53
|
+
withOnLayerOnBaseDecorator
|
|
54
|
+
};
|