@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,109 @@
|
|
|
1
|
+
import {
|
|
2
|
+
button_styles_default
|
|
3
|
+
} from "./chunk.J2XNYTTZ.js";
|
|
4
|
+
|
|
5
|
+
// src/components/radio-button/radio-button.styles.ts
|
|
6
|
+
import { css } from "lit";
|
|
7
|
+
var radio_button_styles_default = css`
|
|
8
|
+
${button_styles_default}
|
|
9
|
+
|
|
10
|
+
.button__prefix,
|
|
11
|
+
.button__suffix,
|
|
12
|
+
.button__label {
|
|
13
|
+
display: inline-flex;
|
|
14
|
+
position: relative;
|
|
15
|
+
align-items: center;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.button--toggle {
|
|
19
|
+
display: inline-flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
background-color: var(--dsa-wc-toggle-button-background-color);
|
|
22
|
+
border-color: var(--dsa-wc-toggle-button-border-color);
|
|
23
|
+
color: var(--dsa-wc-toggle-button-color);
|
|
24
|
+
border-width: 1px;
|
|
25
|
+
boder-style: solid;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.button--toggle:hover {
|
|
29
|
+
background-color: var(--dsa-wc-toggle-button-hover-background-color);
|
|
30
|
+
border-color: var(--dsa-wc-toggle-button-hover-border-color);
|
|
31
|
+
color: var(--dsa-wc-toggle-button-hover-color);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.button--toggle:active {
|
|
35
|
+
background-color: var(--dsa-wc-toggle-button-active-background-color);
|
|
36
|
+
border-color: var(--dsa-wc-toggle-button-active-border-color);
|
|
37
|
+
color: var(--dsa-wc-toggle-button-active-color);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.button--toggle.button--checked {
|
|
41
|
+
background-color: var(--dsa-wc-toggle-button-checked-background-color);
|
|
42
|
+
border-color: var(--dsa-wc-toggle-button-checked-border-color);
|
|
43
|
+
color: var(--dsa-wc-toggle-button-checked-color);
|
|
44
|
+
}
|
|
45
|
+
.button--toggle:hover.button--checked {
|
|
46
|
+
background-color: var(
|
|
47
|
+
--dsa-wc-toggle-button-checked-hover-background-color
|
|
48
|
+
);
|
|
49
|
+
border-color: var(--dsa-wc-toggle-button-checked-hover-border-color);
|
|
50
|
+
color: var(--dsa-wc-toggle-button-checked-hover-color);
|
|
51
|
+
}
|
|
52
|
+
.button--toggle:active.button--checked {
|
|
53
|
+
background-color: var(
|
|
54
|
+
--dsa-wc-toggle-button-checked-active-background-color
|
|
55
|
+
);
|
|
56
|
+
border-color: var(--dsa-wc-toggle-button-checked-active-border-color);
|
|
57
|
+
color: var(--dsa-wc-toggle-button-checked-active-color);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.button--toggle.button--readonly.button--disabled {
|
|
61
|
+
background-color: var(--dsa-wc-toggle-button-read-only-background-color);
|
|
62
|
+
border-color: var(--dsa-wc-toggle-button-read-only-border-color);
|
|
63
|
+
color: var(--dsa-wc-toggle-button-read-only-color);
|
|
64
|
+
padding-left: var(--dsa-wc-toggle-button-icon-padding-x);
|
|
65
|
+
cursor: not-allowed;
|
|
66
|
+
}
|
|
67
|
+
.button--toggle.button--checked.button--readonly {
|
|
68
|
+
background-color: var(
|
|
69
|
+
--dsa-wc-toggle-button-read-only-checked-background-color
|
|
70
|
+
);
|
|
71
|
+
border-color: var(--dsa-wc-toggle-button-read-only-checked-border-color);
|
|
72
|
+
color: var(--dsa-wc-toggle-button-read-only-checked-color);
|
|
73
|
+
}
|
|
74
|
+
.button--toggle.button--checked.button--readonly.button__icon-check {
|
|
75
|
+
color: var(--dsa-wc-toggle-button-read-only-checked-icon-color);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.button--toggle.button--disabled {
|
|
79
|
+
background-color: var(--dsa-wc-toggle-button-disabled-background-color);
|
|
80
|
+
border-color: var(--dsa-wc-toggle-button-disabled-border-color);
|
|
81
|
+
color: var(--dsa-wc-toggle-button-disabled-color);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.button--toggle .button__icon-check {
|
|
85
|
+
margin-inline-start: var(--dsa-wc-toggle-button-icon-spacing);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.button--toggle .button__icon-readonly {
|
|
89
|
+
margin-inline-end: var(--dsa-wc-toggle-button-icon-spacing);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* We use a hidden input so constraint validation errors work, since they don't appear to show when used with buttons.
|
|
93
|
+
We can't actually hide it, though, otherwise the messages will be suppressed by the browser. */
|
|
94
|
+
.hidden-input {
|
|
95
|
+
all: unset;
|
|
96
|
+
position: absolute;
|
|
97
|
+
top: 0;
|
|
98
|
+
left: 0;
|
|
99
|
+
bottom: 0;
|
|
100
|
+
right: 0;
|
|
101
|
+
outline: dotted 1px red;
|
|
102
|
+
opacity: 0;
|
|
103
|
+
z-index: -1;
|
|
104
|
+
}
|
|
105
|
+
`;
|
|
106
|
+
|
|
107
|
+
export {
|
|
108
|
+
radio_button_styles_default
|
|
109
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
visually_hidden_styles_default
|
|
3
|
+
} from "./chunk.IOFPPNUO.js";
|
|
4
|
+
import {
|
|
5
|
+
ShoelaceElement
|
|
6
|
+
} from "./chunk.YCXTCVAZ.js";
|
|
7
|
+
import {
|
|
8
|
+
__decorateClass
|
|
9
|
+
} from "./chunk.6M63UXML.js";
|
|
10
|
+
|
|
11
|
+
// src/components/visually-hidden/visually-hidden.ts
|
|
12
|
+
import { html } from "lit";
|
|
13
|
+
import { customElement } from "lit/decorators.js";
|
|
14
|
+
var DSAVisuallyHidden = class extends ShoelaceElement {
|
|
15
|
+
render() {
|
|
16
|
+
return html` <slot></slot> `;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
DSAVisuallyHidden.styles = visually_hidden_styles_default;
|
|
20
|
+
DSAVisuallyHidden = __decorateClass([
|
|
21
|
+
customElement("dsa-visually-hidden")
|
|
22
|
+
], DSAVisuallyHidden);
|
|
23
|
+
|
|
24
|
+
export {
|
|
25
|
+
DSAVisuallyHidden
|
|
26
|
+
};
|
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
import {
|
|
2
|
+
form_control_styles_default
|
|
3
|
+
} from "./chunk.3RBCYA4F.js";
|
|
4
|
+
import {
|
|
5
|
+
component_styles_default
|
|
6
|
+
} from "./chunk.TUVJKY7S.js";
|
|
7
|
+
|
|
8
|
+
// src/components/select/select.styles.ts
|
|
9
|
+
import { css } from "lit";
|
|
10
|
+
var select_styles_default = css`
|
|
11
|
+
${component_styles_default}
|
|
12
|
+
${form_control_styles_default}
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
display: block;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/** The popup */
|
|
19
|
+
.select {
|
|
20
|
+
flex: 1 1 auto;
|
|
21
|
+
display: inline-flex;
|
|
22
|
+
width: 100%;
|
|
23
|
+
position: relative;
|
|
24
|
+
vertical-align: middle;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.select::part(popup) {
|
|
28
|
+
z-index: var(--dsa-wc-z-index-dropdown);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.select[data-current-placement^='top']::part(popup) {
|
|
32
|
+
transform-origin: bottom;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.select[data-current-placement^='bottom']::part(popup) {
|
|
36
|
+
transform-origin: top;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Combobox */
|
|
40
|
+
.select__combobox {
|
|
41
|
+
flex: 1;
|
|
42
|
+
display: flex;
|
|
43
|
+
width: 100%;
|
|
44
|
+
min-width: 0;
|
|
45
|
+
position: relative;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: start;
|
|
48
|
+
font: var(--dsa-wc-select-input-font);
|
|
49
|
+
vertical-align: middle;
|
|
50
|
+
overflow: hidden;
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
transition: var(--dsa-wc-transition-fast) color,
|
|
53
|
+
var(--dsa-wc-transition-fast) border,
|
|
54
|
+
var(--dsa-wc-transition-fast) box-shadow,
|
|
55
|
+
var(--dsa-wc-transition-fast) background-color;
|
|
56
|
+
border-radius: var(--dsa-wc-input-border-radius);
|
|
57
|
+
padding: var(--dsa-wc-input-padding);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.select__display-input {
|
|
61
|
+
position: relative;
|
|
62
|
+
width: 100%;
|
|
63
|
+
font: inherit;
|
|
64
|
+
border: none;
|
|
65
|
+
background: none;
|
|
66
|
+
color: var(--dsa-wc-input-on-base-text-field-input-color);
|
|
67
|
+
cursor: inherit;
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
padding: 0;
|
|
70
|
+
margin: 0;
|
|
71
|
+
-webkit-appearance: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.select__display-input:focus {
|
|
75
|
+
outline: none;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* Visually hide the display input when multiple is enabled */
|
|
79
|
+
.select--multiple:not(.select--placeholder-visible) .select__display-input {
|
|
80
|
+
position: absolute;
|
|
81
|
+
z-index: -1;
|
|
82
|
+
top: 0;
|
|
83
|
+
left: 0;
|
|
84
|
+
width: 100%;
|
|
85
|
+
height: 100%;
|
|
86
|
+
opacity: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.select__value-input {
|
|
90
|
+
position: absolute;
|
|
91
|
+
top: 0;
|
|
92
|
+
left: 0;
|
|
93
|
+
width: 100%;
|
|
94
|
+
height: 100%;
|
|
95
|
+
padding: 0;
|
|
96
|
+
margin: 0;
|
|
97
|
+
opacity: 0;
|
|
98
|
+
z-index: -1;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.select__tags {
|
|
102
|
+
display: flex;
|
|
103
|
+
flex: 1;
|
|
104
|
+
align-items: center;
|
|
105
|
+
flex-wrap: wrap;
|
|
106
|
+
margin-inline-start: var(--dsa-wc-select-tag-margin-inline-start);
|
|
107
|
+
min-width: 0;
|
|
108
|
+
overflow: hidden;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.select__tags dsa-tag {
|
|
112
|
+
cursor: pointer !important;
|
|
113
|
+
min-width: 0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.select__tags dsa-tag::part(base) {
|
|
117
|
+
background: var(--dsa-wc-select-tag-background) !important;
|
|
118
|
+
color: var(--dsa-wc-select-tag-color) !important;
|
|
119
|
+
border: solid 1px var(--dsa-wc-select-tag-border-color);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.select--error .select__tags dsa-tag::part(base) {
|
|
123
|
+
background: var(--dsa-wc-select-tag-error-background) !important;
|
|
124
|
+
color: var(--dsa-wc-select-tag-error-color) !important;
|
|
125
|
+
border: solid 1px var(--dsa-wc-select-tag-error-border-color);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.select--error .select__tags dsa-tag::part(remove-button) {
|
|
129
|
+
color: var(--dsa-wc-select-tag-error-color) !important;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.select--disabled .select__tags,
|
|
133
|
+
.select--disabled .select__tags::slotted(dsa-tag) {
|
|
134
|
+
cursor: not-allowed !important;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* On base selects */
|
|
138
|
+
.select--on-base .select__combobox {
|
|
139
|
+
background-color: var(
|
|
140
|
+
--dsa-wc-internal-select-on-base-background-color,
|
|
141
|
+
var(--dsa-wc-input-on-base-background-color)
|
|
142
|
+
);
|
|
143
|
+
border: solid var(--dsa-wc-input-border-width)
|
|
144
|
+
var(
|
|
145
|
+
--dsa-wc-internal-select-on-base-border-color,
|
|
146
|
+
var(--dsa-wc-input-on-base-border-color)
|
|
147
|
+
);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.select--on-base:hover:not(.select--disabled) .select__combobox {
|
|
151
|
+
border-color: var(
|
|
152
|
+
--dsa-wc-internal-select-on-base-hover-border-color,
|
|
153
|
+
var(--dsa-wc-input-on-base-border-color-hover)
|
|
154
|
+
);
|
|
155
|
+
background-color: var(
|
|
156
|
+
--dsa-wc-internal-select-on-base-hover-background-color,
|
|
157
|
+
inherit
|
|
158
|
+
);
|
|
159
|
+
}
|
|
160
|
+
.select--on-base.select--disabled .select__combobox {
|
|
161
|
+
background-color: var(
|
|
162
|
+
--dsa-wc-internal-select-on-base-disabled-background-color,
|
|
163
|
+
var(--dsa-wc-input-on-base-background-color-disabled)
|
|
164
|
+
);
|
|
165
|
+
border-color: var(
|
|
166
|
+
--dsa-wc-internal-select-on-base-disabled-border-color,
|
|
167
|
+
var(--dsa-wc-input-on-base-border-color-disabled)
|
|
168
|
+
);
|
|
169
|
+
cursor: var(--dsa-wc-internal-select-disabled-cursor, not-allowed);
|
|
170
|
+
opacity: var(--dsa-wc-internal-select-disabled-opacity, 0.5);
|
|
171
|
+
outline: none;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.select--on-base:not(.select--disabled).select--open .select__combobox,
|
|
175
|
+
.select--on-base:not(.select--disabled).select--focused .select__combobox {
|
|
176
|
+
outline: var(--dsa-wc-focus-ring);
|
|
177
|
+
outline-offset: var(--dsa-wc-focus-ring-offset);
|
|
178
|
+
z-index: 2;
|
|
179
|
+
|
|
180
|
+
background-color: var(
|
|
181
|
+
--dsa-wc-internal-select-on-base-active-background-color,
|
|
182
|
+
inherit
|
|
183
|
+
);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.select--on-base select__prefix {
|
|
187
|
+
color: var(--dsa-wc-input-on-base-text-field-input-color);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.select--error.select--on-base:not(.select--disabled) .select__combobox {
|
|
191
|
+
background-color: var(--dsa-wc-input-on-base-background-color-error);
|
|
192
|
+
border-color: var(--dsa-wc-input-on-base-border-color-error);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.select--error.select--on-base:hover:not(.select--disabled)
|
|
196
|
+
.select__combobox {
|
|
197
|
+
border-color: var(--dsa-wc-input-on-base-border-color-error-hover);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/* On Layer selects */
|
|
201
|
+
.select--on-layer .select__combobox {
|
|
202
|
+
background-color: var(
|
|
203
|
+
--dsa-wc-internal-select-on-layer-background-color,
|
|
204
|
+
var(--dsa-wc-input-on-layer-background-color)
|
|
205
|
+
);
|
|
206
|
+
border: solid var(--dsa-wc-input-border-width)
|
|
207
|
+
var(
|
|
208
|
+
--dsa-wc-internal-select-on-layer-border-color,
|
|
209
|
+
var(--dsa-wc-input-on-layer-border-color)
|
|
210
|
+
);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.select--on-layer:hover:not(.select--disabled) .select__combobox {
|
|
214
|
+
border-color: var(
|
|
215
|
+
--dsa-wc-internal-select-on-layer-hover-border-color,
|
|
216
|
+
var(--dsa-wc-input-on-layer-border-color-hover)
|
|
217
|
+
);
|
|
218
|
+
background-color: var(
|
|
219
|
+
--dsa-wc-internal-select-on-layer-hover-background-color,
|
|
220
|
+
var(--dsa-wc-internal-select-on-layer-hover-background-color, inherit)
|
|
221
|
+
);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.select--on-layer.select--disabled .select__combobox {
|
|
225
|
+
background-color: var(
|
|
226
|
+
--dsa-wc-internal-select-on-layer-disabled-background-color,
|
|
227
|
+
var(--dsa-wc-input-on-layer-background-color-disabled)
|
|
228
|
+
);
|
|
229
|
+
border-color: var(
|
|
230
|
+
--dsa-wc-internal-select-on-layer-disabled-border-color,
|
|
231
|
+
var(--dsa-wc-input-on-layer-border-color-disabled)
|
|
232
|
+
);
|
|
233
|
+
opacity: var(--dsa-wc-internal-select-disabled-opacity, 0.5);
|
|
234
|
+
cursor: var(--dsa-wc-internal-select-disabled-cursor, not-allowed);
|
|
235
|
+
outline: none;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.select--on-layer:not(.select--disabled).select--open .select__combobox,
|
|
239
|
+
.select--on-layer:not(.select--disabled).select--focused .select__combobox {
|
|
240
|
+
outline: var(--dsa-wc-focus-ring);
|
|
241
|
+
outline-offset: var(--dsa-wc-focus-ring-offset);
|
|
242
|
+
|
|
243
|
+
background-color: var(
|
|
244
|
+
--dsa-wc-internal-select-on-layer-active-background-color,
|
|
245
|
+
inherit
|
|
246
|
+
);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.select--on-layer select__prefix {
|
|
250
|
+
color: var(--dsa-wc-input-on-layer-text-field-input-color);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.select--error.select--on-layer:not(.select--disabled) .select__combobox {
|
|
254
|
+
background-color: var(--dsa-wc-input-on-layer-background-color-error);
|
|
255
|
+
border-color: var(--dsa-wc-input-on-layer-border-color-error);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.select--error.select--on-layer:hover:not(.select--disabled)
|
|
259
|
+
.select__combobox {
|
|
260
|
+
border-color: var(--dsa-wc-input-on-layer-border-color-error-hover);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/* Sizes */
|
|
264
|
+
.select--small .select__combobox {
|
|
265
|
+
font: var(--dsa-wc-select-input-font-small);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.select--small.select--multiple:not(.select--placeholder-visible)
|
|
269
|
+
.select__combobox {
|
|
270
|
+
padding-block: 2px;
|
|
271
|
+
padding-inline-start: 0;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.select--small .select__tags {
|
|
275
|
+
gap: 2px;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.select--medium .select__combobox {
|
|
279
|
+
font: var(--dsa-wc-select-input-font);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.select--medium.select--multiple:not(.select--placeholder-visible)
|
|
283
|
+
.select__combobox {
|
|
284
|
+
padding-inline-start: 0;
|
|
285
|
+
padding-block: 3px;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.select--medium .select__tags {
|
|
289
|
+
gap: 3px;
|
|
290
|
+
}
|
|
291
|
+
.select--large .select__combobox {
|
|
292
|
+
font: var(--dsa-wc-select-input-font-large);
|
|
293
|
+
}
|
|
294
|
+
.select--large.select--multiple:not(.select--placeholder-visible)
|
|
295
|
+
.select__combobox {
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.select--large .select__tags {
|
|
299
|
+
gap: 4px;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/* Prefix */
|
|
303
|
+
.select__prefix {
|
|
304
|
+
flex: 0;
|
|
305
|
+
display: inline-flex;
|
|
306
|
+
align-items: center;
|
|
307
|
+
}
|
|
308
|
+
.select__prefix::slotted(*) {
|
|
309
|
+
margin-inline-end: var(--dsa-wc-input-margin-inline);
|
|
310
|
+
}
|
|
311
|
+
.select--multiple .select__prefix::slotted(*) {
|
|
312
|
+
margin-inline-start: var(--dsa-wc-input-margin-inline);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/* Clear button */
|
|
316
|
+
.select__clear {
|
|
317
|
+
display: inline-flex;
|
|
318
|
+
align-items: center;
|
|
319
|
+
justify-content: center;
|
|
320
|
+
font-size: inherit;
|
|
321
|
+
color: var(--dsa-wc-input-icon-color);
|
|
322
|
+
border: none;
|
|
323
|
+
background: none;
|
|
324
|
+
padding: 0;
|
|
325
|
+
transition: var(--dsa-wc-transition-fast) color;
|
|
326
|
+
cursor: pointer;
|
|
327
|
+
margin-inline-start: var(--dsa-wc-input-margin-inline);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
:not(.select--disabled) .select__clear:hover,
|
|
331
|
+
:not(.select--disabled) .select__expand-icon:hover {
|
|
332
|
+
color: var(--dsa-wc-input-icon-color-hover);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.select--disabled .select__clear,
|
|
336
|
+
.select--disabled .select__expand-icon {
|
|
337
|
+
color: var(--dsa-wc-input-icon-color-disabled);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.select__clear:focus {
|
|
341
|
+
outline: none;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/* Expand icon */
|
|
345
|
+
.select__expand-icon {
|
|
346
|
+
flex: 0 0 auto;
|
|
347
|
+
display: flex;
|
|
348
|
+
align-items: center;
|
|
349
|
+
transition: var(--dsa-wc-transition-medium) rotate ease;
|
|
350
|
+
rotate: 0;
|
|
351
|
+
margin-inline-start: var(--dsa-wc-select-icon-margin-inline);
|
|
352
|
+
color: var(--dsa-wc-input-icon-color);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.select--open .select__expand-icon {
|
|
356
|
+
rotate: -180deg;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/* Listbox */
|
|
360
|
+
.select__listbox {
|
|
361
|
+
display: block;
|
|
362
|
+
position: relative;
|
|
363
|
+
font: var(--dsa-wc-input-text-field-font);
|
|
364
|
+
box-shadow: var(--dsa-wc-shadow-large);
|
|
365
|
+
background: var(--dsa-wc-select-listbox-background-color);
|
|
366
|
+
border: solid var(--dsa-wc-select-listbox-border-width)
|
|
367
|
+
var(--dsa-wc-select-listbox-background-color);
|
|
368
|
+
border-radius: var(--dsa-wc-select-listbox-border-radius);
|
|
369
|
+
padding-inline: 0;
|
|
370
|
+
overflow: auto;
|
|
371
|
+
overscroll-behavior: none;
|
|
372
|
+
|
|
373
|
+
/* Make sure it adheres to the popup's auto size */
|
|
374
|
+
max-width: var(--auto-size-available-width);
|
|
375
|
+
max-height: var(--auto-size-available-height);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.select__listbox::slotted(dsa-divider) {
|
|
379
|
+
--spacing-start: var(--dsa-wc-select-listbox-divider-spacing);
|
|
380
|
+
--spacing-end: var(--dsa-wc-select-listbox-divider-spacing);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.select__listbox::slotted(small) {
|
|
384
|
+
font-size: var(--dsa-wc-input-text-field-font-small);
|
|
385
|
+
padding-inline: var(--dsa-wc-select-listbox-padding-inline);
|
|
386
|
+
}
|
|
387
|
+
`;
|
|
388
|
+
|
|
389
|
+
export {
|
|
390
|
+
select_styles_default
|
|
391
|
+
};
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import {
|
|
2
|
+
component_styles_default
|
|
3
|
+
} from "./chunk.TUVJKY7S.js";
|
|
4
|
+
|
|
5
|
+
// src/components/drawer/drawer.styles.ts
|
|
6
|
+
import { css } from "lit";
|
|
7
|
+
var drawer_styles_default = css`
|
|
8
|
+
${component_styles_default}
|
|
9
|
+
|
|
10
|
+
:host {
|
|
11
|
+
--size: 25rem;
|
|
12
|
+
--header-spacing: var(--dsa-wc-drawer-spacing);
|
|
13
|
+
--body-spacing: var(--dsa-wc-drawer-spacing);
|
|
14
|
+
--footer-spacing: var(--dsa-wc-drawer-spacing);
|
|
15
|
+
|
|
16
|
+
display: contents;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.drawer {
|
|
20
|
+
top: 0;
|
|
21
|
+
inset-inline-start: 0;
|
|
22
|
+
width: 100%;
|
|
23
|
+
height: 100%;
|
|
24
|
+
pointer-events: none;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
font: var(--dsa-wc-drawer-content-font);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.drawer--contained {
|
|
30
|
+
position: absolute;
|
|
31
|
+
z-index: initial;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.drawer--fixed {
|
|
35
|
+
position: fixed;
|
|
36
|
+
z-index: var(--dsa-wc-z-index-drawer);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.drawer__panel {
|
|
40
|
+
position: absolute;
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
z-index: 2;
|
|
44
|
+
max-width: 100%;
|
|
45
|
+
max-height: 100%;
|
|
46
|
+
background-color: var(--dsa-wc-drawer-background-color);
|
|
47
|
+
overflow: auto;
|
|
48
|
+
pointer-events: all;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.drawer__panel:focus {
|
|
52
|
+
outline: none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.drawer--top .drawer__panel {
|
|
56
|
+
top: 0;
|
|
57
|
+
inset-inline-end: auto;
|
|
58
|
+
bottom: auto;
|
|
59
|
+
inset-inline-start: 0;
|
|
60
|
+
width: 100%;
|
|
61
|
+
height: var(--size);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.drawer--end .drawer__panel {
|
|
65
|
+
top: 0;
|
|
66
|
+
inset-inline-end: 0;
|
|
67
|
+
bottom: auto;
|
|
68
|
+
inset-inline-start: auto;
|
|
69
|
+
width: var(--size);
|
|
70
|
+
height: 100%;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.drawer--bottom .drawer__panel {
|
|
74
|
+
top: auto;
|
|
75
|
+
inset-inline-end: auto;
|
|
76
|
+
bottom: 0;
|
|
77
|
+
inset-inline-start: 0;
|
|
78
|
+
width: 100%;
|
|
79
|
+
height: var(--size);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.drawer--start .drawer__panel {
|
|
83
|
+
top: 0;
|
|
84
|
+
inset-inline-end: auto;
|
|
85
|
+
bottom: auto;
|
|
86
|
+
inset-inline-start: 0;
|
|
87
|
+
width: var(--size);
|
|
88
|
+
height: 100%;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.drawer__header {
|
|
92
|
+
display: flex;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.drawer__title {
|
|
96
|
+
flex: 1 1 auto;
|
|
97
|
+
font: var(--dsa-wc-drawer-header-font);
|
|
98
|
+
padding: var(--header-spacing);
|
|
99
|
+
margin: 0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.drawer__header-actions {
|
|
103
|
+
flex-shrink: 0;
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-wrap: wrap;
|
|
106
|
+
justify-content: end;
|
|
107
|
+
gap: var(--dsa-wc-drawer-header-actions-gap);
|
|
108
|
+
padding: 0 var(--header-spacing);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.drawer__header-actions dsa-icon-button,
|
|
112
|
+
.drawer__header-actions ::slotted(dsa-icon-button) {
|
|
113
|
+
flex: 0 0 auto;
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
font-size: 1.25rem;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.drawer__body {
|
|
120
|
+
flex: 1 1 auto;
|
|
121
|
+
display: block;
|
|
122
|
+
padding: var(--body-spacing);
|
|
123
|
+
overflow: auto;
|
|
124
|
+
-webkit-overflow-scrolling: touch;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.drawer__footer {
|
|
128
|
+
border-top: var(--dsa-wc-drawer-footer-border-top);
|
|
129
|
+
text-align: right;
|
|
130
|
+
padding: var(--footer-spacing);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.drawer__footer ::slotted(dsa-button:not(:last-of-type)) {
|
|
134
|
+
margin-inline-end: var(--dsa-wc-drawer-footer-button-margin-inline-end);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.drawer:not(.drawer--has-footer) .drawer__footer {
|
|
138
|
+
display: none;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.drawer__overlay {
|
|
142
|
+
display: block;
|
|
143
|
+
position: fixed;
|
|
144
|
+
top: 0;
|
|
145
|
+
right: 0;
|
|
146
|
+
bottom: 0;
|
|
147
|
+
left: 0;
|
|
148
|
+
background-color: var(--dsa-wc-drawer-overlay-color);
|
|
149
|
+
pointer-events: all;
|
|
150
|
+
opacity: 0.4;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.drawer--contained .drawer__overlay {
|
|
154
|
+
display: none;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@media (forced-colors: active) {
|
|
158
|
+
.drawer__panel {
|
|
159
|
+
border: solid 1px var(--dsa-color-background-base);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
`;
|
|
163
|
+
|
|
164
|
+
export {
|
|
165
|
+
drawer_styles_default
|
|
166
|
+
};
|