@ds-autonomie/web-components 2.4.1 → 2.5.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 +36 -0
- package/cdn/chunks/{chunk.SXO3JE2C.js → chunk.2BQQJKFU.js} +20 -112
- package/cdn/chunks/{chunk.Y5RTMSTB.js → chunk.2S3446TB.js} +1 -1
- package/cdn/chunks/{chunk.EZ2CTTR3.js → chunk.3E3HJ2GB.js} +3 -3
- package/cdn/chunks/{chunk.ZCBARTO2.js → chunk.3PDDINNE.js} +6 -0
- package/cdn/chunks/{chunk.A5QRPK4Q.js → chunk.3XJTVFZ2.js} +1 -1
- package/cdn/chunks/{chunk.45DY5Z6P.js → chunk.3XMYYR4P.js} +1 -5
- package/cdn/chunks/{chunk.N7TSHDJG.js → chunk.3YELONZ5.js} +1 -1
- package/cdn/chunks/chunk.4OAG5UWA.js +72 -0
- package/cdn/chunks/{chunk.HBIJX2WM.js → chunk.4Q4LBN6D.js} +1 -1
- package/cdn/chunks/{chunk.YJBMFRB4.js → chunk.4UMO5YHQ.js} +1 -1
- package/cdn/chunks/{chunk.3OSWL542.js → chunk.53DHJKYL.js} +0 -6
- package/cdn/chunks/{chunk.EB3VB5VL.js → chunk.5B3X2KU4.js} +7 -4
- package/cdn/chunks/chunk.5QJ7KDER.js +124 -0
- package/cdn/chunks/chunk.6CVNT3XU.js +108 -0
- package/cdn/chunks/{chunk.5BQ2BGS6.js → chunk.6KSC4CRL.js} +1 -0
- package/cdn/chunks/{chunk.WJDOTH54.js → chunk.6SV5RDDG.js} +1 -1
- package/cdn/chunks/{chunk.5VZE6TSA.js → chunk.6UY5XC7A.js} +1 -1
- package/cdn/chunks/{chunk.MHOWVZXY.js → chunk.7CBNLWGC.js} +41 -155
- package/cdn/chunks/{chunk.CUFMKSEN.js → chunk.7ZJHGFQH.js} +9 -2
- package/cdn/chunks/chunk.A747OEHH.js +145 -0
- package/cdn/chunks/{chunk.OJFCPMJA.js → chunk.BBWKTDH3.js} +1 -1
- package/cdn/chunks/chunk.BDPH2MRN.js +234 -0
- package/cdn/chunks/{chunk.JO52YCNJ.js → chunk.BKSVKEYX.js} +1 -1
- package/cdn/chunks/{chunk.VARBZAJP.js → chunk.BMQ5WSY7.js} +2 -0
- package/cdn/chunks/{chunk.MCSZ2F65.js → chunk.BQ3SI4TM.js} +1 -1
- package/cdn/chunks/{chunk.5UVKMYSG.js → chunk.BQX4GGIU.js} +18 -12
- package/cdn/chunks/{chunk.H2OEFMQC.js → chunk.BWYI3OOJ.js} +0 -6
- package/cdn/chunks/chunk.CAWNJ57J.js +291 -0
- package/cdn/chunks/{chunk.NTOOFOWB.js → chunk.DBJLSCQP.js} +2 -2
- package/cdn/chunks/{chunk.SJM5UCFK.js → chunk.DRUKNJJ5.js} +1 -1
- package/cdn/chunks/{chunk.URME4YZI.js → chunk.E2ERJT5L.js} +4 -121
- package/cdn/chunks/{chunk.CMRQV2SO.js → chunk.EVV7CPIX.js} +3 -3
- package/cdn/chunks/{chunk.ZDF27RIQ.js → chunk.EYKHHWR5.js} +1 -1
- package/cdn/chunks/{chunk.GXQMOXKI.js → chunk.GVTFDL2C.js} +0 -4
- package/cdn/chunks/{chunk.GBGDDTEL.js → chunk.HOIWGDVX.js} +1 -1
- package/cdn/chunks/chunk.I6WQAXU3.js +85 -0
- package/cdn/chunks/{chunk.ICBLN3KB.js → chunk.IPKU2NK6.js} +29 -7
- package/cdn/chunks/{chunk.KSCPGWVT.js → chunk.JEOLRBU6.js} +1 -1
- package/cdn/chunks/{chunk.6FWACI3G.js → chunk.JOVZPGCQ.js} +1 -1
- package/cdn/chunks/{chunk.UM64ZD3C.js → chunk.JUCW3BPM.js} +1 -1
- package/cdn/chunks/{chunk.4ZEHBLJR.js → chunk.KNKNPTGU.js} +1 -1
- package/cdn/chunks/{chunk.WQ3NUYLG.js → chunk.KQJPZZKZ.js} +7 -8
- package/cdn/chunks/{chunk.WYTP4TFA.js → chunk.LEW43Y6P.js} +1 -1
- package/cdn/chunks/{chunk.PK4XXM66.js → chunk.LIJWOM2P.js} +1 -1
- package/cdn/chunks/chunk.LPB2VMCT.js +74 -0
- package/cdn/chunks/{chunk.EF2VOGBL.js → chunk.LYIECKOK.js} +1 -1
- package/cdn/chunks/{chunk.KLIZYLWG.js → chunk.M4YRRHEL.js} +1 -1
- package/cdn/chunks/{chunk.OFWHWMUH.js → chunk.MJMSFEEL.js} +1 -1
- package/cdn/chunks/{chunk.JD7YUYPB.js → chunk.MMT7DZQU.js} +53 -20
- package/cdn/chunks/{chunk.LFBIXLMF.js → chunk.MRBMS4RB.js} +10 -6
- package/cdn/chunks/{chunk.VI5JEKGK.js → chunk.N74GMZQD.js} +1 -1
- package/cdn/chunks/{chunk.2FOGPUI3.js → chunk.NMVBZ537.js} +1 -1
- package/cdn/chunks/{chunk.VRC57YIG.js → chunk.NNXRECFT.js} +1 -1
- package/cdn/chunks/chunk.NON7TU3E.js +15 -0
- package/cdn/chunks/{chunk.E7IRWRZH.js → chunk.NUMKSKYJ.js} +1 -1
- package/cdn/chunks/{chunk.FTI4C7U6.js → chunk.NYK3GS67.js} +1 -1
- package/cdn/chunks/{chunk.L3ZYNSI3.js → chunk.OCDDQJHV.js} +3 -3
- package/cdn/chunks/{chunk.BNLQUWBO.js → chunk.OQUR5UM4.js} +1 -1
- package/cdn/chunks/{chunk.LCA7FDI4.js → chunk.PQ4KTIXS.js} +4 -130
- package/cdn/chunks/{chunk.6HLUBEKO.js → chunk.PQNNELEM.js} +1 -1
- package/cdn/chunks/{chunk.OVBLP5E4.js → chunk.PRP4B2TV.js} +1 -1
- package/cdn/chunks/chunk.PT3QFRYN.js +336 -0
- package/cdn/chunks/{chunk.KYZIL6TB.js → chunk.PZQUQ6DG.js} +1 -1
- package/cdn/chunks/chunk.QCPGBCQ3.js +72 -0
- package/cdn/chunks/{chunk.AJFNFADL.js → chunk.QUA6RD7E.js} +1 -1
- package/cdn/chunks/{chunk.4XTAL3PC.js → chunk.QYS7Y562.js} +3 -3
- package/cdn/chunks/{chunk.QKLRW3JL.js → chunk.RHJUPBW2.js} +4 -4
- package/cdn/chunks/chunk.RNF5H43X.js +199 -0
- package/cdn/chunks/{chunk.P6NF7VUG.js → chunk.RRVYERI6.js} +1 -1
- package/cdn/chunks/{chunk.6XVWAOAW.js → chunk.SDRL7END.js} +1 -1
- package/cdn/chunks/{chunk.FAPQZI57.js → chunk.SMJWBG6U.js} +1 -1
- package/cdn/chunks/{chunk.E36IR3BP.js → chunk.SPK4CXKV.js} +1 -1
- package/cdn/chunks/{chunk.NMGNR4EL.js → chunk.SS3GSU3M.js} +1 -1
- package/cdn/chunks/{chunk.67KNPORK.js → chunk.SUXMTZZQ.js} +1 -1
- package/cdn/chunks/chunk.T4PQY3SD.js +194 -0
- package/cdn/chunks/{chunk.XS7VEXEG.js → chunk.T6APUNAB.js} +22 -114
- package/cdn/chunks/{chunk.VZJGVIXG.js → chunk.UJQUHHXT.js} +2 -0
- package/cdn/chunks/{chunk.2YVHHVLG.js → chunk.UORXHDBJ.js} +3 -2
- package/cdn/chunks/{chunk.OMPBUYUW.js → chunk.UYGSA2IW.js} +5 -5
- package/cdn/chunks/chunk.W6RA2ZKW.js +124 -0
- package/cdn/chunks/{chunk.AZBK27ET.js → chunk.WQLZJXIF.js} +1 -1
- package/cdn/chunks/{chunk.OSJ5I4FK.js → chunk.WWI5IYQY.js} +8 -3
- package/cdn/chunks/{chunk.SMWE3ICX.js → chunk.XGOXFBM5.js} +1 -1
- package/cdn/chunks/{chunk.JVTWZUNG.js → chunk.XODAGFNB.js} +1 -1
- package/cdn/chunks/{chunk.7YE2BWH2.js → chunk.XYXJQSTL.js} +1 -1
- package/cdn/chunks/{chunk.KOWSS3HP.js → chunk.Y2RQJPXD.js} +1 -1
- package/cdn/chunks/{chunk.KPS4A22J.js → chunk.Y4XSMWCI.js} +1 -1
- package/cdn/chunks/{chunk.PIFZYHAW.js → chunk.YAK3QGTM.js} +1 -1
- package/cdn/chunks/chunk.YGJ3KERC.js +290 -0
- package/cdn/chunks/chunk.YGZ44MNV.js +64 -0
- package/cdn/chunks/{chunk.RZUPGCMM.js → chunk.YSKD4LUA.js} +1 -5
- package/cdn/chunks/{chunk.K4B5TCNN.js → chunk.YX277NFA.js} +1 -1
- package/cdn/chunks/{chunk.XHB6RI7B.js → chunk.ZHNP2Z3B.js} +5 -5
- package/cdn/components/accordion/accordion.js +4 -4
- package/cdn/components/alert/alert.js +4 -4
- package/cdn/components/anchor-tag/anchor-tag.d.ts +2 -1
- package/cdn/components/anchor-tag/anchor-tag.js +1 -1
- package/cdn/components/avatar/avatar.js +2 -2
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/calendar/calendar.js +2 -2
- package/cdn/components/callout/callout.js +2 -2
- package/cdn/components/card/card.d.ts +0 -2
- package/cdn/components/card/card.js +1 -1
- package/cdn/components/card-content/card-content.d.ts +51 -0
- package/cdn/components/card-content/card-content.js +28 -0
- package/cdn/components/card-content/card-content.styles.js +10 -0
- package/cdn/components/card-nav/card-nav.d.ts +23 -0
- package/cdn/components/card-nav/card-nav.js +15 -0
- package/cdn/components/{include/include.styles.js → card-nav/card-nav.styles.js} +3 -3
- package/cdn/components/card-nav-accordion/card-nav-accordion.d.ts +49 -0
- package/cdn/components/card-nav-accordion/card-nav-accordion.js +30 -0
- package/cdn/components/card-nav-accordion/card-nav-accordion.styles.js +10 -0
- package/cdn/components/card-nav-item/card-nav-item.d.ts +38 -0
- package/cdn/components/card-nav-item/card-nav-item.js +26 -0
- package/cdn/components/card-nav-item/card-nav-item.styles.js +10 -0
- package/cdn/components/checkbox/checkbox.js +5 -5
- package/cdn/components/checkbox-button/checkbox-button.js +4 -4
- package/cdn/components/checkbox-card/checkbox-card.js +4 -4
- package/cdn/components/checkbox-group/checkbox-group.js +3 -3
- package/cdn/components/combobox/combobox.js +6 -6
- package/cdn/components/dialog/dialog.js +4 -4
- package/cdn/components/download-card/download-card.js +2 -2
- package/cdn/components/download-link/download-link.js +2 -2
- package/cdn/components/drawer/drawer.js +4 -4
- package/cdn/components/dropdown/dropdown.d.ts +0 -5
- package/cdn/components/dropdown/dropdown.js +2 -2
- package/cdn/components/error-message-panel/error-message-panel.js +2 -2
- package/cdn/components/error-text/error-text.js +2 -2
- package/cdn/components/fieldset/fieldset.d.ts +39 -0
- package/cdn/components/fieldset/fieldset.js +17 -0
- package/cdn/components/fieldset/fieldset.styles.d.ts +2 -0
- package/cdn/components/fieldset/fieldset.styles.js +10 -0
- package/cdn/components/file-upload/file-upload.js +4 -4
- package/cdn/components/file-upload-item/file-upload-item.js +2 -2
- package/cdn/components/filter-base/filter-base.js +5 -5
- package/cdn/components/filter-button/filter-button.js +4 -4
- package/cdn/components/filter-counter/filter-counter.js +24 -21
- package/cdn/components/filter-date/filter-date.js +11 -11
- package/cdn/components/filter-range/filter-range.js +24 -21
- package/cdn/components/filter-select/filter-select.js +25 -22
- package/cdn/components/footer/footer.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +2 -2
- package/cdn/components/format-date/format-date.js +2 -2
- package/cdn/components/format-number/format-number.js +2 -2
- package/cdn/components/header/header.js +3 -3
- package/cdn/components/header/header.styles.js +1 -1
- package/cdn/components/header-search/header-search.js +6 -6
- package/cdn/components/icon/icon.js +2 -2
- package/cdn/components/icon-button/icon-button.js +2 -2
- package/cdn/components/input/input.d.ts +17 -81
- package/cdn/components/input/input.js +17 -14
- package/cdn/components/input-date/input-date.d.ts +4 -42
- package/cdn/components/input-date/input-date.js +11 -10
- package/cdn/components/input-date/input-date.styles.js +2 -2
- package/cdn/components/input-mask/input-mask.d.ts +3 -50
- package/cdn/components/input-mask/input-mask.js +5 -4
- package/cdn/components/input-native/input-native.d.ts +57 -0
- package/cdn/components/input-native/input-native.js +43 -0
- package/cdn/components/input-native/input-native.styles.d.ts +2 -0
- package/cdn/components/{input/input.styles.js → input-native/input-native.styles.js} +4 -3
- package/cdn/components/{input/input.utils.d.ts → input-native/input-native.utils.d.ts} +1 -1
- package/cdn/components/{input/input.utils.js → input-native/input-native.utils.js} +1 -1
- package/cdn/components/input-otp/input-otp.d.ts +6 -50
- package/cdn/components/input-otp/input-otp.js +4 -3
- package/cdn/components/input-phone/input-phone.d.ts +5 -36
- package/cdn/components/input-phone/input-phone.js +8 -7
- package/cdn/components/input-time/input-time.d.ts +8 -53
- package/cdn/components/input-time/input-time.js +7 -6
- package/cdn/components/input-time/input-time.styles.js +2 -2
- package/cdn/components/menu-accordion/menu-accordion.js +4 -4
- package/cdn/components/menu-item/menu-item.d.ts +1 -1
- package/cdn/components/menu-item/menu-item.js +5 -4
- package/cdn/components/menu-item/menu-item.styles.js +1 -1
- package/cdn/components/mutation-observer/mutation-observer.d.ts +1 -3
- package/cdn/components/mutation-observer/mutation-observer.js +1 -1
- package/cdn/components/navbar-link/navbar-link.js +2 -2
- package/cdn/components/navbar-menu/navbar-menu.js +4 -4
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/pagination.js +18 -15
- package/cdn/components/profile-button/profile-button.js +5 -5
- package/cdn/components/progress-bar/progress-bar.js +2 -2
- package/cdn/components/quote/quote.js +2 -2
- package/cdn/components/radio/radio.js +3 -3
- package/cdn/components/radio-button/radio-button.js +2 -2
- package/cdn/components/radio-card/radio-card.js +4 -4
- package/cdn/components/radio-group/radio-group.js +2 -2
- package/cdn/components/relative-time/relative-time.d.ts +1 -1
- package/cdn/components/relative-time/relative-time.js +2 -2
- package/cdn/components/resize-observer/resize-observer.d.ts +1 -3
- package/cdn/components/select/select.js +5 -5
- package/cdn/components/skip-links/skip-links.js +2 -2
- package/cdn/components/spinner/spinner.js +2 -2
- package/cdn/components/split-panel/split-panel.js +4 -4
- package/cdn/components/step/step.js +4 -4
- package/cdn/components/switch/switch.js +4 -4
- package/cdn/components/tab/tab.js +4 -4
- package/cdn/components/tab-group/tab-group.d.ts +2 -0
- package/cdn/components/tab-group/tab-group.js +4 -4
- package/cdn/components/table/table.js +2 -2
- package/cdn/components/table/table.styles.js +1 -1
- package/cdn/components/table-action/table-action.js +2 -2
- package/cdn/components/table-body/table-body.js +3 -3
- package/cdn/components/table-caption/table-caption.js +2 -2
- package/cdn/components/table-container/table-container.js +2 -2
- package/cdn/components/table-head/table-head.js +3 -3
- package/cdn/components/table-header-cell/table-header-cell.js +4 -4
- package/cdn/components/table-header-cell/table-header-cell.styles.js +1 -1
- package/cdn/components/table-header-row/table-header-row.js +10 -10
- package/cdn/components/table-of-contents/table-of-contents.js +2 -2
- package/cdn/components/table-row/table-row.js +7 -7
- package/cdn/components/tag/tag.js +4 -4
- package/cdn/components/tag-button/tag-button.d.ts +53 -0
- package/cdn/components/tag-button/tag-button.js +18 -0
- package/cdn/components/tag-button/tag-button.styles.d.ts +2 -0
- package/cdn/components/tag-button/tag-button.styles.js +10 -0
- package/cdn/components/textarea/textarea.js +2 -2
- package/cdn/components/tooltip/tooltip.d.ts +2 -0
- package/cdn/components/tooltip/tooltip.js +2 -2
- package/cdn/components/tree/tree.js +10 -10
- package/cdn/components/tree-item/tree-item.js +8 -8
- package/cdn/custom-elements.json +7595 -8126
- package/cdn/design-system.d.ts +7 -2
- package/cdn/design-system.js +176 -148
- package/cdn/internal/components/checkbox-box/checkbox-box.styles.js +0 -6
- package/cdn/internal/components/date-field/date-field.d.ts +11 -0
- package/cdn/internal/components/date-field/date-field.js +23 -1
- package/cdn/internal/components/input-base/input-base.d.ts +118 -0
- package/cdn/internal/components/input-base/input-base.js +313 -0
- package/cdn/internal/components/input-base/input-base.styles.d.ts +2 -0
- package/cdn/internal/components/input-base/input-base.styles.js +302 -0
- package/cdn/internal/components/input-base/input-base.utils.d.ts +1 -0
- package/cdn/internal/components/input-base/input-base.utils.js +1 -0
- package/cdn/internal/components/radio-icon/radio-icon.styles.js +0 -6
- package/cdn/themes/dsa-wc-theme.css +94 -2
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +100 -2
- package/cdn/translations/en-gb.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/fr.js +1 -1
- package/cdn/utilities/localize.d.ts +1 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/vscode.html-custom-data.json +225 -355
- package/cdn/web-types.json +3580 -4067
- package/dist/chunks/{chunk.TKV7I7MM.js → chunk.2655IKKL.js} +9 -2
- package/dist/chunks/chunk.2EO2NJQJ.js +118 -0
- package/dist/chunks/{chunk.QEZ5FSIU.js → chunk.2GAMN72N.js} +1 -1
- package/dist/chunks/{chunk.DNLOBVBE.js → chunk.2JRGVS6D.js} +1 -1
- package/dist/chunks/chunk.3CWUZQRT.js +325 -0
- package/dist/chunks/{chunk.7K5DG6KV.js → chunk.3RMSYRZA.js} +1 -1
- package/dist/chunks/chunk.3XTO3LV5.js +62 -0
- package/dist/chunks/chunk.3YZI5GBX.js +72 -0
- package/dist/chunks/{chunk.KDEA34PP.js → chunk.4JZFGBJP.js} +1 -1
- package/dist/chunks/{chunk.OKUA77L4.js → chunk.4S7APMGY.js} +18 -12
- package/dist/chunks/{chunk.MWWI3AU2.js → chunk.4VHQEXSY.js} +1 -1
- package/dist/chunks/{chunk.PWVYG6XN.js → chunk.4ZAABSYS.js} +0 -6
- package/dist/chunks/{chunk.ZAZPAXHI.js → chunk.54XEUZ55.js} +1 -1
- package/dist/chunks/chunk.5KTLM3MD.js +106 -0
- package/dist/chunks/{chunk.JHA6OLMK.js → chunk.635JP52V.js} +3 -3
- package/dist/chunks/{chunk.O4HVYU6G.js → chunk.63BQQE4G.js} +27 -5
- package/dist/chunks/{chunk.AMTRQ7HP.js → chunk.6AKP5BRZ.js} +1 -1
- package/dist/chunks/{chunk.SRP6V7OW.js → chunk.6KMLQCBG.js} +1 -1
- package/dist/chunks/chunk.6MWXS55V.js +136 -0
- package/dist/chunks/{chunk.KENYJWWA.js → chunk.6NGHRQYD.js} +1 -1
- package/dist/chunks/{chunk.KGZXCKP2.js → chunk.6XCFILBM.js} +1 -1
- package/dist/chunks/{chunk.OWV6XZFR.js → chunk.7QLR3F26.js} +1 -1
- package/dist/chunks/{chunk.UKZA4PJB.js → chunk.AATHH5ZK.js} +1 -1
- package/dist/chunks/{chunk.X4HFQ4MT.js → chunk.AB7T3PSN.js} +1 -1
- package/dist/chunks/chunk.ADUUYLJY.js +79 -0
- package/dist/chunks/{chunk.XVFPRM26.js → chunk.AHHKOQL3.js} +1 -1
- package/dist/chunks/{chunk.JRJB2DFE.js → chunk.AJCLNOPZ.js} +1 -1
- package/dist/chunks/{chunk.4SVX6VCY.js → chunk.ARDX2RVR.js} +1 -1
- package/dist/chunks/{chunk.V4U5XMU7.js → chunk.B7LEFGX4.js} +1 -1
- package/dist/chunks/{chunk.P2LEUT2Q.js → chunk.BYB2ODNQ.js} +4 -121
- package/dist/chunks/{chunk.INFNQBQD.js → chunk.CPBWQ6BE.js} +1 -1
- package/dist/chunks/{chunk.6BOM4P42.js → chunk.DHCXNXX3.js} +5 -5
- package/dist/chunks/chunk.DJNQIAYV.js +283 -0
- package/dist/chunks/{chunk.7MGKJTDJ.js → chunk.DKIEKIV4.js} +4 -130
- package/dist/chunks/{chunk.OHDR6G6J.js → chunk.DMIXIORN.js} +3 -3
- package/dist/chunks/{chunk.SG42FXRA.js → chunk.DUPWIWDC.js} +41 -155
- package/dist/chunks/{chunk.Z2A5AEMU.js → chunk.DXRDCCL4.js} +1 -1
- package/dist/chunks/{chunk.IW4EYF6Z.js → chunk.DZVHKOGO.js} +1 -1
- package/dist/chunks/{chunk.QG62LWYX.js → chunk.EEK6ZGS2.js} +1 -4
- package/dist/chunks/{chunk.EWL56M5H.js → chunk.EQDAZLA2.js} +7 -4
- package/dist/chunks/{chunk.E7S4C6P7.js → chunk.ETG5DAHF.js} +1 -1
- package/dist/chunks/{chunk.SA7GMM2I.js → chunk.EWOJ3XVB.js} +3 -3
- package/dist/chunks/{chunk.6SDBUBGE.js → chunk.FKOYZI2V.js} +2 -0
- package/dist/chunks/{chunk.IHTWK22H.js → chunk.G5ZFFB2V.js} +5 -5
- package/dist/chunks/{chunk.XNVSET6H.js → chunk.I4XFUHWM.js} +1 -1
- package/dist/chunks/{chunk.U2RG7USD.js → chunk.IR5ZDNLY.js} +1 -1
- package/dist/chunks/chunk.J4QE6NJC.js +70 -0
- package/dist/chunks/{chunk.O4ZSTSXZ.js → chunk.JQS5RPAK.js} +1 -5
- package/dist/chunks/{chunk.GNJX6QSO.js → chunk.K4XU6L7E.js} +1 -1
- package/dist/chunks/{chunk.DKTT254G.js → chunk.KFBHQJJP.js} +6 -0
- package/dist/chunks/{chunk.M4H37WUH.js → chunk.L2B7WMWE.js} +8 -3
- package/dist/chunks/{chunk.GRNDTTXR.js → chunk.L7SZMI27.js} +1 -1
- package/dist/chunks/chunk.LGV7OXTA.js +186 -0
- package/dist/chunks/{chunk.NASETPCZ.js → chunk.LXS4P57X.js} +1 -1
- package/dist/chunks/{chunk.UCIFKWMI.js → chunk.MF7KW7MX.js} +1 -1
- package/dist/chunks/{chunk.P7SN3TMY.js → chunk.NJNQX6FX.js} +1 -1
- package/dist/chunks/{chunk.533C7JJH.js → chunk.NKOMMJMK.js} +10 -6
- package/dist/chunks/chunk.NZEV2R75.js +197 -0
- package/dist/chunks/{chunk.IXAKBOI4.js → chunk.ORWJR56M.js} +1 -1
- package/dist/chunks/{chunk.7XUPS5FG.js → chunk.PHSUFADX.js} +1 -0
- package/dist/chunks/chunk.Q2BCYSPM.js +70 -0
- package/dist/chunks/{chunk.PD6ETZGV.js → chunk.Q3II5ELV.js} +1 -1
- package/dist/chunks/{chunk.YWHYMKYI.js → chunk.QADAWCTI.js} +2 -0
- package/dist/chunks/chunk.QFO2VDJ3.js +286 -0
- package/dist/chunks/{chunk.TTZ6Y7GB.js → chunk.QGPBBIGJ.js} +1 -1
- package/dist/chunks/{chunk.XQDC25MI.js → chunk.QJIY2G7A.js} +1 -1
- package/dist/chunks/{chunk.H3X3D747.js → chunk.QLT366CP.js} +1 -5
- package/dist/chunks/{chunk.DFBKUH2U.js → chunk.RGHMS6RU.js} +1 -1
- package/dist/chunks/{chunk.2JCMUNW4.js → chunk.RURHQSLF.js} +1 -1
- package/dist/chunks/{chunk.LUPOBRAQ.js → chunk.SDT5BB26.js} +7 -8
- package/dist/chunks/{chunk.TXMAH3OK.js → chunk.SFD6GJDA.js} +53 -20
- package/dist/chunks/{chunk.ZRW5L2NC.js → chunk.SGKW2DOH.js} +3 -2
- package/dist/chunks/{chunk.IUPSCAN6.js → chunk.SGVMH2WK.js} +1 -1
- package/dist/chunks/{chunk.4URSPC26.js → chunk.SJN7BDOD.js} +1 -1
- package/dist/chunks/{chunk.5VC7IHJ2.js → chunk.STKBEBVL.js} +1 -1
- package/dist/chunks/{chunk.4VJTOIB4.js → chunk.SV6UZ7XX.js} +1 -1
- package/dist/chunks/{chunk.IFDJNZPC.js → chunk.SW6R5A3O.js} +1 -1
- package/dist/chunks/{chunk.H7ZLX7SO.js → chunk.TODRUEYV.js} +3 -3
- package/dist/chunks/chunk.TZVFQDBB.js +122 -0
- package/dist/chunks/chunk.ULPMZDTP.js +13 -0
- package/dist/chunks/{chunk.2BZBH3CX.js → chunk.URDP5HQR.js} +0 -6
- package/dist/chunks/{chunk.S6XG7G6X.js → chunk.VDYAE3MB.js} +2 -2
- package/dist/chunks/{chunk.XG7KR6BI.js → chunk.WDLYTTNO.js} +1 -1
- package/dist/chunks/{chunk.ZH3OZSYO.js → chunk.X6M22EYD.js} +22 -114
- package/dist/chunks/chunk.XAF7DDXJ.js +228 -0
- package/dist/chunks/{chunk.FC7AQRZS.js → chunk.XODWG3UJ.js} +1 -1
- package/dist/chunks/{chunk.GZEVQN6J.js → chunk.Y4CDJYQO.js} +20 -112
- package/dist/chunks/{chunk.RS4S7SAD.js → chunk.Y6XPKQ25.js} +1 -1
- package/dist/chunks/{chunk.7E57JVUE.js → chunk.YCRHX2XL.js} +1 -1
- package/dist/chunks/{chunk.JZYJ2V4F.js → chunk.YGRXSNFC.js} +1 -1
- package/dist/chunks/{chunk.MTOENDDR.js → chunk.YT4ZDRKX.js} +1 -1
- package/dist/chunks/{chunk.Y3I7GUNB.js → chunk.Z42XBNIN.js} +1 -1
- package/dist/chunks/{chunk.DISFQ7ZU.js → chunk.ZMMQOF24.js} +1 -1
- package/dist/components/accordion/accordion.js +4 -4
- package/dist/components/alert/alert.js +4 -4
- package/dist/components/anchor-tag/anchor-tag.d.ts +2 -1
- package/dist/components/anchor-tag/anchor-tag.js +1 -1
- package/dist/components/avatar/avatar.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/components/button/button.js +5 -5
- package/dist/components/calendar/calendar.js +2 -2
- package/dist/components/callout/callout.js +2 -2
- package/dist/components/card/card.d.ts +0 -2
- package/dist/components/card/card.js +1 -1
- package/dist/components/card-content/card-content.d.ts +51 -0
- package/dist/components/card-content/card-content.js +22 -0
- package/dist/components/card-content/card-content.styles.d.ts +2 -0
- package/dist/components/card-content/card-content.styles.js +8 -0
- package/dist/components/card-nav/card-nav.d.ts +23 -0
- package/dist/components/card-nav/card-nav.js +12 -0
- package/dist/components/card-nav/card-nav.styles.d.ts +2 -0
- package/dist/components/card-nav/card-nav.styles.js +8 -0
- package/dist/components/card-nav-accordion/card-nav-accordion.d.ts +49 -0
- package/dist/components/card-nav-accordion/card-nav-accordion.js +25 -0
- package/dist/components/card-nav-accordion/card-nav-accordion.styles.d.ts +2 -0
- package/dist/components/card-nav-accordion/card-nav-accordion.styles.js +8 -0
- package/dist/components/card-nav-item/card-nav-item.d.ts +38 -0
- package/dist/components/card-nav-item/card-nav-item.js +21 -0
- package/dist/components/card-nav-item/card-nav-item.styles.d.ts +2 -0
- package/dist/components/card-nav-item/card-nav-item.styles.js +8 -0
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/checkbox-button/checkbox-button.js +4 -4
- package/dist/components/checkbox-card/checkbox-card.js +4 -4
- package/dist/components/checkbox-group/checkbox-group.js +3 -3
- package/dist/components/combobox/combobox.js +6 -6
- package/dist/components/dialog/dialog.js +4 -4
- package/dist/components/download-card/download-card.js +2 -2
- package/dist/components/download-link/download-link.js +2 -2
- package/dist/components/drawer/drawer.js +4 -4
- package/dist/components/dropdown/dropdown.d.ts +0 -5
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/error-message-panel/error-message-panel.js +2 -2
- package/dist/components/error-text/error-text.js +2 -2
- package/dist/components/fieldset/fieldset.d.ts +39 -0
- package/dist/components/fieldset/fieldset.js +13 -0
- package/dist/components/fieldset/fieldset.styles.d.ts +2 -0
- package/dist/components/fieldset/fieldset.styles.js +8 -0
- package/dist/components/file-upload/file-upload.js +4 -4
- package/dist/components/file-upload-item/file-upload-item.js +2 -2
- package/dist/components/filter-base/filter-base.js +5 -5
- package/dist/components/filter-button/filter-button.js +4 -4
- package/dist/components/filter-counter/filter-counter.js +23 -20
- package/dist/components/filter-date/filter-date.js +10 -10
- package/dist/components/filter-range/filter-range.js +23 -20
- package/dist/components/filter-select/filter-select.js +24 -21
- package/dist/components/footer/footer.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +2 -2
- package/dist/components/format-date/format-date.js +2 -2
- package/dist/components/format-number/format-number.js +2 -2
- package/dist/components/header/header.js +3 -3
- package/dist/components/header/header.styles.js +1 -1
- package/dist/components/header-search/header-search.js +6 -6
- package/dist/components/icon/icon.js +2 -2
- package/dist/components/icon-button/icon-button.js +2 -2
- package/dist/components/input/input.d.ts +17 -81
- package/dist/components/input/input.js +16 -13
- package/dist/components/input-date/input-date.d.ts +4 -42
- package/dist/components/input-date/input-date.js +10 -9
- package/dist/components/input-date/input-date.styles.js +2 -2
- package/dist/components/input-mask/input-mask.d.ts +3 -50
- package/dist/components/input-mask/input-mask.js +5 -4
- package/dist/components/input-native/input-native.d.ts +57 -0
- package/dist/components/input-native/input-native.js +35 -0
- package/dist/components/input-native/input-native.styles.d.ts +2 -0
- package/dist/components/input-native/input-native.styles.js +10 -0
- package/dist/components/{input/input.utils.d.ts → input-native/input-native.utils.d.ts} +1 -1
- package/dist/components/{input/input.utils.js → input-native/input-native.utils.js} +1 -1
- package/dist/components/input-otp/input-otp.d.ts +6 -50
- package/dist/components/input-otp/input-otp.js +4 -3
- package/dist/components/input-phone/input-phone.d.ts +5 -36
- package/dist/components/input-phone/input-phone.js +8 -7
- package/dist/components/input-time/input-time.d.ts +8 -53
- package/dist/components/input-time/input-time.js +7 -6
- package/dist/components/input-time/input-time.styles.js +2 -2
- package/dist/components/menu-accordion/menu-accordion.js +4 -4
- package/dist/components/menu-item/menu-item.d.ts +1 -1
- package/dist/components/menu-item/menu-item.js +5 -4
- package/dist/components/menu-item/menu-item.styles.js +1 -1
- package/dist/components/mutation-observer/mutation-observer.d.ts +1 -3
- package/dist/components/mutation-observer/mutation-observer.js +1 -1
- package/dist/components/navbar-link/navbar-link.js +2 -2
- package/dist/components/navbar-menu/navbar-menu.js +4 -4
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/pagination.js +17 -14
- package/dist/components/profile-button/profile-button.js +5 -5
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/quote/quote.js +2 -2
- package/dist/components/radio/radio.js +3 -3
- package/dist/components/radio-button/radio-button.js +2 -2
- package/dist/components/radio-card/radio-card.js +4 -4
- package/dist/components/radio-group/radio-group.js +2 -2
- package/dist/components/relative-time/relative-time.d.ts +1 -1
- package/dist/components/relative-time/relative-time.js +2 -2
- package/dist/components/resize-observer/resize-observer.d.ts +1 -3
- package/dist/components/select/select.js +5 -5
- package/dist/components/skip-links/skip-links.js +2 -2
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/split-panel/split-panel.js +4 -4
- package/dist/components/step/step.js +4 -4
- package/dist/components/switch/switch.js +4 -4
- package/dist/components/tab/tab.js +4 -4
- package/dist/components/tab-group/tab-group.d.ts +2 -0
- package/dist/components/tab-group/tab-group.js +4 -4
- package/dist/components/table/table.js +2 -2
- package/dist/components/table/table.styles.js +1 -1
- package/dist/components/table-action/table-action.js +2 -2
- package/dist/components/table-body/table-body.js +3 -3
- package/dist/components/table-caption/table-caption.js +2 -2
- package/dist/components/table-container/table-container.js +2 -2
- package/dist/components/table-head/table-head.js +3 -3
- package/dist/components/table-header-cell/table-header-cell.js +4 -4
- package/dist/components/table-header-cell/table-header-cell.styles.js +1 -1
- package/dist/components/table-header-row/table-header-row.js +10 -10
- package/dist/components/table-of-contents/table-of-contents.js +2 -2
- package/dist/components/table-row/table-row.js +7 -7
- package/dist/components/tag/tag.js +4 -4
- package/dist/components/tag-button/tag-button.d.ts +53 -0
- package/dist/components/tag-button/tag-button.js +12 -0
- package/dist/components/tag-button/tag-button.styles.d.ts +2 -0
- package/dist/components/tag-button/tag-button.styles.js +8 -0
- package/dist/components/textarea/textarea.js +2 -2
- package/dist/components/tooltip/tooltip.d.ts +2 -0
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.js +10 -10
- package/dist/components/tree-item/tree-item.js +8 -8
- package/dist/custom-elements.json +7595 -8126
- package/dist/design-system.d.ts +7 -2
- package/dist/design-system.js +175 -147
- package/dist/internal/components/checkbox-box/checkbox-box.styles.js +0 -6
- package/dist/internal/components/date-field/date-field.d.ts +11 -0
- package/dist/internal/components/date-field/date-field.js +23 -1
- package/dist/internal/components/input-base/input-base.d.ts +118 -0
- package/dist/internal/components/input-base/input-base.js +313 -0
- package/dist/internal/components/input-base/input-base.styles.d.ts +2 -0
- package/dist/internal/components/input-base/input-base.styles.js +302 -0
- package/dist/internal/components/input-base/input-base.utils.d.ts +1 -0
- package/dist/internal/components/input-base/input-base.utils.js +1 -0
- package/dist/internal/components/radio-icon/radio-icon.styles.js +0 -6
- package/dist/themes/dsa-wc-theme.css +94 -2
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +100 -2
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/utilities/localize.d.ts +1 -0
- package/dist/utilities/localize.js +1 -1
- package/dist/vscode.html-custom-data.json +225 -355
- package/dist/web-types.json +3580 -4067
- package/package.json +17 -17
- package/cdn/chunks/chunk.7ITBH4NW.js +0 -687
- package/cdn/chunks/chunk.L7DPKZV6.js +0 -82
- package/cdn/chunks/chunk.VTPSYUIU.js +0 -19
- package/cdn/components/include/include.d.ts +0 -32
- package/cdn/components/include/include.js +0 -14
- package/dist/chunks/chunk.GQ4NIFUB.js +0 -674
- package/dist/chunks/chunk.MBQRU4CJ.js +0 -79
- package/dist/chunks/chunk.NNBOLKWI.js +0 -17
- package/dist/components/include/include.d.ts +0 -32
- package/dist/components/include/include.js +0 -12
- package/dist/components/include/include.styles.js +0 -8
- package/dist/components/input/input.styles.js +0 -9
- /package/cdn/components/{include/include.styles.d.ts → card-content/card-content.styles.d.ts} +0 -0
- /package/{dist/components/input/input.styles.d.ts → cdn/components/card-nav/card-nav.styles.d.ts} +0 -0
- /package/cdn/components/{input/input.styles.d.ts → card-nav-accordion/card-nav-accordion.styles.d.ts} +0 -0
- /package/{dist/components/include/include.styles.d.ts → cdn/components/card-nav-item/card-nav-item.styles.d.ts} +0 -0
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
import componentStyles from '../../../styles/component.styles';
|
|
3
|
+
import formControlStyles from '../../../styles/form-control.styles';
|
|
4
|
+
export default css `
|
|
5
|
+
${componentStyles}
|
|
6
|
+
${formControlStyles}
|
|
7
|
+
|
|
8
|
+
:host {
|
|
9
|
+
display: block;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.input {
|
|
13
|
+
position: relative;
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
align-items: center;
|
|
17
|
+
vertical-align: middle;
|
|
18
|
+
width: 100%;
|
|
19
|
+
font: var(--dsa-wc-input-text-field-font);
|
|
20
|
+
|
|
21
|
+
transition: var(--dsa-wc-transition-fast) color,
|
|
22
|
+
var(--dsa-wc-transition-fast) border,
|
|
23
|
+
var(--dsa-wc-transition-fast) box-shadow,
|
|
24
|
+
var(--dsa-wc-transition-fast) background-color;
|
|
25
|
+
border-radius: var(--dsa-wc-input-border-radius);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.input--focused:not(.input--disabled) {
|
|
29
|
+
outline: var(--dsa-wc-focus-ring);
|
|
30
|
+
outline-offset: var(--dsa-wc-focus-ring-offset);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* On Layer inputs */
|
|
34
|
+
.input--on-layer {
|
|
35
|
+
background-color: var(--dsa-wc-input-on-layer-background-color);
|
|
36
|
+
border: solid var(--dsa-wc-input-border-width)
|
|
37
|
+
var(--dsa-wc-input-on-layer-border-color);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.input--on-layer:hover:not(.input--disabled):not(.input--readonly) {
|
|
41
|
+
border-color: var(--dsa-wc-input-on-layer-border-color-hover);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.input--on-layer.input--focused:not(.input--disabled):not(.input--readonly)
|
|
45
|
+
.input__control {
|
|
46
|
+
color: var(--dsa-wc-input-on-layer-text-field-input-color);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.input--on-layer.input--disabled {
|
|
50
|
+
background-color: var(--dsa-wc-input-on-layer-background-color-disabled);
|
|
51
|
+
border-color: var(--dsa-wc-input-on-layer-border-color-disabled);
|
|
52
|
+
opacity: 0.5;
|
|
53
|
+
cursor: not-allowed;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.input--on-layer.input--readonly {
|
|
57
|
+
background-color: var(--dsa-wc-input-on-layer-read-only-background-color);
|
|
58
|
+
border-color: var(--dsa-wc-input-on-layer-read-only-border-color);
|
|
59
|
+
}
|
|
60
|
+
.input--on-layer.input--disabled .input__control {
|
|
61
|
+
color: var(--dsa-wc-input-on-layer-text-field-input-color-disabled);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.input--error.input--on-layer:not(.input--disabled):not(.input--readonly) {
|
|
65
|
+
background-color: var(--dsa-wc-input-on-layer-background-color-error);
|
|
66
|
+
border-color: var(--dsa-wc-input-on-layer-border-color-error);
|
|
67
|
+
}
|
|
68
|
+
.input--error.input--on-layer:hover:not(.input--disabled):not(
|
|
69
|
+
.input--readonly
|
|
70
|
+
) {
|
|
71
|
+
border-color: var(--dsa-wc-input-on-layer-border-color-error-hover);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.input--on-layer .input__control::placeholder {
|
|
75
|
+
color: var(--dsa-wc-input-on-layer-text-field-placeholder-color);
|
|
76
|
+
user-select: none;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* On Base inputs */
|
|
80
|
+
.input--on-base {
|
|
81
|
+
border: solid var(--dsa-wc-input-border-width)
|
|
82
|
+
var(--dsa-wc-input-on-base-border-color);
|
|
83
|
+
background-color: var(--dsa-wc-input-on-base-background-color);
|
|
84
|
+
color: var(--dsa-wc-input-on-base-text-field-input-color);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.input--on-base:hover:not(.input--disabled):not(.input--readonly) {
|
|
88
|
+
border-color: var(--dsa-wc-input-on-base-border-color-hover);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.input--on-base.input--disabled {
|
|
92
|
+
border-color: var(--dsa-wc-input-on-base-border-color-disabled);
|
|
93
|
+
background-color: var(--dsa-wc-input-on-base-background-color-disabled);
|
|
94
|
+
opacity: 0.5;
|
|
95
|
+
cursor: not-allowed;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.input--on-base.input--readonly {
|
|
99
|
+
background-color: var(--dsa-wc-input-on-base-read-only-background-color);
|
|
100
|
+
border-color: var(--dsa-wc-input-on-base-read-only-border-color);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.input--error.input--on-base:not(.input--disabled):not(.input--readonly) {
|
|
104
|
+
background-color: var(--dsa-wc-input-on-base-background-color-error);
|
|
105
|
+
border-color: var(--dsa-wc-input-on-base-border-color-error);
|
|
106
|
+
}
|
|
107
|
+
.input--error.input--on-base:hover:not(.input--disabled):not(
|
|
108
|
+
.input--readonly
|
|
109
|
+
) {
|
|
110
|
+
border-color: var(--dsa-wc-input-on-base-border-color-error-hover);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.input--on-base .input__control::placeholder {
|
|
114
|
+
color: var(--dsa-wc-input-on-base-text-field-placeholder-color);
|
|
115
|
+
user-select: none;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* Input Control */
|
|
119
|
+
.input__control {
|
|
120
|
+
display: inline-flex;
|
|
121
|
+
flex-direction: row;
|
|
122
|
+
flex: 1 1 auto;
|
|
123
|
+
font-family: inherit;
|
|
124
|
+
font-size: inherit;
|
|
125
|
+
font-weight: inherit;
|
|
126
|
+
min-width: 0;
|
|
127
|
+
height: 100%;
|
|
128
|
+
border: none;
|
|
129
|
+
border-radius: inherit;
|
|
130
|
+
background: none;
|
|
131
|
+
box-shadow: none;
|
|
132
|
+
padding: var(--dsa-wc-input-padding);
|
|
133
|
+
margin: 0;
|
|
134
|
+
cursor: inherit;
|
|
135
|
+
-webkit-appearance: none;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.input__control::placeholder {
|
|
139
|
+
opacity: 1;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.input__control::-webkit-search-decoration,
|
|
143
|
+
.input__control::-webkit-search-cancel-button,
|
|
144
|
+
.input__control::-webkit-search-results-button,
|
|
145
|
+
.input__control::-webkit-search-results-decoration {
|
|
146
|
+
-webkit-appearance: none;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.input__control:autofill,
|
|
150
|
+
.input__control:-webkit-autofill,
|
|
151
|
+
.input__control:autofill:hover,
|
|
152
|
+
.input__control:-webkit-autofill:hover,
|
|
153
|
+
.input__control:autofill:focus,
|
|
154
|
+
.input__control:-webkit-autofill:focus,
|
|
155
|
+
.input__control:autofill:active,
|
|
156
|
+
.input__control:-webkit-autofill:active {
|
|
157
|
+
box-shadow: 0 0 0 var(--dsa-wc-form-input-height-large)
|
|
158
|
+
var(--dsa-wc-form-input-autocomplete-background) inset !important;
|
|
159
|
+
-webkit-text-fill-color: var(--dsa-wc-input-on-base-text-field-input-color);
|
|
160
|
+
caret-color: var(--dsa-wc-input-on-base-text-field-input-color);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.input:hover:not(.input--disabled):not(.input--readonly) .input__control {
|
|
164
|
+
color: var(--dsa-wc-input-on-base-text-field-input-color);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.input__control:focus {
|
|
168
|
+
outline: none;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/*
|
|
172
|
+
* Size modifiers
|
|
173
|
+
*/
|
|
174
|
+
|
|
175
|
+
.input--small {
|
|
176
|
+
font: var(--dsa-wc-input-text-field-font-small);
|
|
177
|
+
height: var(--dsa-wc-form-input-height-small);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.input__suffix {
|
|
181
|
+
flex: 0 0 auto;
|
|
182
|
+
display: flex;
|
|
183
|
+
align-items: center;
|
|
184
|
+
padding: var(--dsa-spacing-4);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.input > .input__action-button {
|
|
188
|
+
--padding: var(--dsa-spacing-4);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.input > .input__action-button + .input__action-button {
|
|
192
|
+
margin-right: var(--dsa-wc-input-action-buttons-spacing);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.input > .input__action-button:last-of-type,
|
|
196
|
+
.input > .input__suffix:last-child {
|
|
197
|
+
margin-right: var(--dsa-wc-input-padding-x);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.input > .input__control + .input__action-button,
|
|
201
|
+
.input > .input__control + .input__suffix {
|
|
202
|
+
margin-left: auto;
|
|
203
|
+
z-index: 1;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.form-control--has-prefix-icon .input__control {
|
|
207
|
+
padding-left: calc(
|
|
208
|
+
1rem + var(--dsa-wc-input-padding-x) + var(--dsa-wc-input-spacing-left)
|
|
209
|
+
);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.input--small .input__control {
|
|
213
|
+
height: calc(
|
|
214
|
+
var(--dsa-wc-form-input-height-small) - var(--dsa-wc-input-border-width) *
|
|
215
|
+
2
|
|
216
|
+
);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.input--medium {
|
|
220
|
+
height: var(--dsa-wc-form-input-height);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.input--medium .input__control {
|
|
224
|
+
height: calc(
|
|
225
|
+
var(--dsa-wc-form-input-height) - var(--dsa-wc-input-border-width) * 2
|
|
226
|
+
);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.input--large {
|
|
230
|
+
font: var(--dsa-wc-input-text-field-font-large);
|
|
231
|
+
height: var(--dsa-wc-form-input-height-large);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.input--large .input__control {
|
|
235
|
+
height: calc(
|
|
236
|
+
var(--dsa-wc-form-input-height-large) - var(--dsa-wc-input-border-width) *
|
|
237
|
+
2
|
|
238
|
+
);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.input__action-button {
|
|
242
|
+
display: inline-flex;
|
|
243
|
+
align-items: center;
|
|
244
|
+
justify-content: center;
|
|
245
|
+
color: var(--dsa-wc-input-icon-color);
|
|
246
|
+
border: none;
|
|
247
|
+
background: none;
|
|
248
|
+
padding: 0;
|
|
249
|
+
transition: var(--dsa-wc-transition-fast) color;
|
|
250
|
+
cursor: pointer;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.input__action-button:hover {
|
|
254
|
+
color: var(--dsa-wc-input-icon-color-hover);
|
|
255
|
+
fill: var(--dsa-wc-input-icon-color-hover);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/*
|
|
259
|
+
* Custom styling for Time type
|
|
260
|
+
*/
|
|
261
|
+
|
|
262
|
+
input[type='time']::-webkit-calendar-picker-indicator {
|
|
263
|
+
display: none;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.input__prefix,
|
|
267
|
+
.input__suffix {
|
|
268
|
+
color: var(--dsa-wc-input-icon-color);
|
|
269
|
+
pointer-events: none;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.input__prefix,
|
|
273
|
+
.input__prefix::slotted(*) {
|
|
274
|
+
position: absolute;
|
|
275
|
+
left: var(--dsa-wc-input-padding-x);
|
|
276
|
+
z-index: 1;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.input--empty .input__clear {
|
|
280
|
+
visibility: hidden;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/* Don't show the browser's password toggle in Edge */
|
|
284
|
+
::-ms-reveal {
|
|
285
|
+
display: none;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/* Pagination page number input */
|
|
289
|
+
:host(.pagination__input) input {
|
|
290
|
+
padding-inline: var(--dsa-spacing-4);
|
|
291
|
+
text-align: center;
|
|
292
|
+
}
|
|
293
|
+
/* Hide the browser's up and down arrow in input number for the pagination on mobile */
|
|
294
|
+
:host(.pagination__input) input::-webkit-outer-spin-button,
|
|
295
|
+
input::-webkit-inner-spin-button {
|
|
296
|
+
-webkit-appearance: none;
|
|
297
|
+
margin: 0;
|
|
298
|
+
}
|
|
299
|
+
:host(.pagination__input) input[type='number'] {
|
|
300
|
+
-moz-appearance: textfield;
|
|
301
|
+
}
|
|
302
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type DSAInputTypes = 'date' | 'datetime-local' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url' | 'amount';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -4,12 +4,6 @@ export default css `
|
|
|
4
4
|
display: contents;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
:host::after {
|
|
8
|
-
content: '';
|
|
9
|
-
position: absolute;
|
|
10
|
-
inset: 0;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
7
|
.radio__control--small {
|
|
14
8
|
--toggle-size: var(--dsa-wc-radio-size-small);
|
|
15
9
|
--toggle-inner-size: var(--dsa-wc-radio-inner-size-small);
|
|
@@ -110,6 +110,11 @@
|
|
|
110
110
|
--dsa-wc-form-required-content: "*";
|
|
111
111
|
--dsa-wc-form-required-content-offset: -2px;
|
|
112
112
|
--dsa-wc-form-required-content-color: var(--dsa-color-input-label-error);
|
|
113
|
+
--dsa-wc-fieldset-background: var(--dsa-color-background-base);
|
|
114
|
+
--dsa-wc-fieldset-border-color: var(--dsa-color-border-default);
|
|
115
|
+
--dsa-wc-fieldset-legend-color: var(--dsa-color-text-on-base-primary);
|
|
116
|
+
--dsa-wc-fieldset-title-font: var(--dsa-font-large-bold);
|
|
117
|
+
--dsa-wc-fieldset-subtitle-font: var(--dsa-font-small-normal);
|
|
113
118
|
--dsa-wc-checkbox-color: var(--dsa-color-checkbox-primary);
|
|
114
119
|
--dsa-wc-checkbox-color-disabled: var(--dsa-color-checkbox-disabled);
|
|
115
120
|
--dsa-wc-checkbox-color-active: var(
|
|
@@ -402,6 +407,38 @@
|
|
|
402
407
|
--dsa-wc-card-box-shadow: var(--dsa-wc-shadow-x-small);
|
|
403
408
|
--dsa-wc-card-link-box-shadow-hover: var(--dsa-wc-shadow-x-large);
|
|
404
409
|
--dsa-wc-card-link-background-active: var(--dsa-color-card-background-actif);
|
|
410
|
+
--dsa-wc-card-content-body-padding: var(--dsa-spacing-32)
|
|
411
|
+
var(--dsa-spacing-32) var(--dsa-spacing-32) var(--dsa-spacing-24);
|
|
412
|
+
--dsa-wc-card-small-content-body-padding: var(--dsa-spacing-16);
|
|
413
|
+
--dsa-wc-card-content-filled-background-color: var(--dsa-color-surface-layer);
|
|
414
|
+
--dsa-wc-card-content-large-title-font: var(--dsa-font-x-large-bold);
|
|
415
|
+
--dsa-wc-card-content-small-title-font: var(--dsa-font-large-bold);
|
|
416
|
+
--dsa-wc-card-content-subtitle-font: var(--dsa-font-medium-bold);
|
|
417
|
+
--dsa-wc-card-content-content-font: var(---dsa-font-medium-normal);
|
|
418
|
+
--dsa-wc-card-content-title-color: var(--dsa-color-text-on-base-primary);
|
|
419
|
+
--dsa-wc-card-content-subtitle-text-color: var(
|
|
420
|
+
--dsa-color-text-on-base-secondary
|
|
421
|
+
);
|
|
422
|
+
--dsa-wc-card-content-content-color: var(--dsa-color-text-on-base-secondary);
|
|
423
|
+
--dsa-wc-card-content-chevron-color: var(--dsa-color-text-on-base-primary);
|
|
424
|
+
--dsa-wc-card-content-link-small-icon-size: 2.25rem;
|
|
425
|
+
--dsa-wc-card-content-link-large-icon-size: 2.5rem;
|
|
426
|
+
--dsa-wc-card-content-link-icon-padding: var(--dsa-spacing-8);
|
|
427
|
+
--dsa-wc-card-content-tags-margin-bottom: 20px;
|
|
428
|
+
--dsa-wc-card-content-title-icon-size: 3rem;
|
|
429
|
+
--dsa-wc-card-content-small-title-icon-size: 2rem;
|
|
430
|
+
--dsa-wc-card-content-title-block-gap: var(--dsa-spacing-8);
|
|
431
|
+
--dsa-wc-card-content-margin-top: var(--dsa-spacing-12);
|
|
432
|
+
--dsa-wc-card-content-footer-padding-top: var(--dsa-spacing-32);
|
|
433
|
+
--dsa-wc-card-nav-color: var(--dsa-color-card-on-background);
|
|
434
|
+
--dsa-wc-card-nav-icon-color: var(
|
|
435
|
+
--dsa-color-primitive-colors-identity-purple-500
|
|
436
|
+
);
|
|
437
|
+
--dsa-wc-card-nav-subtitle-color: var(--dsa-color-text-on-base-secondary);
|
|
438
|
+
--dsa-wc-card-nav-background-color: var(--dsa-color-card-background-default);
|
|
439
|
+
--dsa-wc-card-nav-background-color-hover: var(--dsa-color-background-hover);
|
|
440
|
+
--dsa-wc-card-nav-border-color: var(--dsa-color-border-default);
|
|
441
|
+
--dsa-wc-card-nav-border-color-hover: var(--dsa-color-border-hover);
|
|
405
442
|
--dsa-wc-download-card-background-color: var(--dsa-color-background-base);
|
|
406
443
|
--dsa-wc-download-card-left-bar-width: var(--dsa-spacing-4);
|
|
407
444
|
--dsa-wc-download-card-left-bar-color: var(
|
|
@@ -1368,6 +1405,61 @@
|
|
|
1368
1405
|
--dsa-color-tag-simple-purple-on-light-background
|
|
1369
1406
|
);
|
|
1370
1407
|
--dsa-wc-tag-purple-100-base: var(--dsa-color-tag-simple-purple-background-1);
|
|
1408
|
+
--dsa-wc-tag-button-border-width: 1px;
|
|
1409
|
+
--dsa-wc-tag-button-neutral-color: var(
|
|
1410
|
+
--dsa-color-tag-cliquable-default-on-background
|
|
1411
|
+
);
|
|
1412
|
+
--dsa-wc-tag-button-neutral-background: var(
|
|
1413
|
+
--dsa-color-tag-cliquable-default-background
|
|
1414
|
+
);
|
|
1415
|
+
--dsa-wc-tag-button-neutral-border-color: var(
|
|
1416
|
+
--dsa-color-tag-cliquable-default-border
|
|
1417
|
+
);
|
|
1418
|
+
--dsa-wc-tag-button-neutral-hover-color: var(
|
|
1419
|
+
--dsa-color-tag-cliquable-default-hover-on-background
|
|
1420
|
+
);
|
|
1421
|
+
--dsa-wc-tag-button-neutral-hover-background: var(
|
|
1422
|
+
--dsa-color-tag-cliquable-default-hover-background
|
|
1423
|
+
);
|
|
1424
|
+
--dsa-wc-tag-button-neutral-hover-border-color: var(
|
|
1425
|
+
--dsa-color-tag-cliquable-default-hover-border
|
|
1426
|
+
);
|
|
1427
|
+
--dsa-wc-tag-button-neutral-active-color: var(
|
|
1428
|
+
--dsa-color-tag-cliquable-default-pressed-on-background
|
|
1429
|
+
);
|
|
1430
|
+
--dsa-wc-tag-button-neutral-active-background: var(
|
|
1431
|
+
--dsa-color-tag-cliquable-default-pressed-background
|
|
1432
|
+
);
|
|
1433
|
+
--dsa-wc-tag-button-neutral-active-border-color: var(
|
|
1434
|
+
--dsa-color-tag-cliquable-default-pressed-border
|
|
1435
|
+
);
|
|
1436
|
+
--dsa-wc-tag-button-active-color: var(
|
|
1437
|
+
--dsa-color-tag-cliquable-active-on-background
|
|
1438
|
+
);
|
|
1439
|
+
--dsa-wc-tag-button-active-background: var(
|
|
1440
|
+
--dsa-color-tag-cliquable-active-background
|
|
1441
|
+
);
|
|
1442
|
+
--dsa-wc-tag-button-active-border-color: var(
|
|
1443
|
+
--dsa-color-tag-cliquable-active-border
|
|
1444
|
+
);
|
|
1445
|
+
--dsa-wc-tag-button-active-hover-color: var(
|
|
1446
|
+
--dsa-color-tag-cliquable-active-hover-on-background
|
|
1447
|
+
);
|
|
1448
|
+
--dsa-wc-tag-button-active-hover-background: var(
|
|
1449
|
+
--dsa-color-tag-cliquable-active-hover-background
|
|
1450
|
+
);
|
|
1451
|
+
--dsa-wc-tag-button-active-hover-border-color: var(
|
|
1452
|
+
--dsa-color-tag-cliquable-active-hover-border
|
|
1453
|
+
);
|
|
1454
|
+
--dsa-wc-tag-button-active-active-color: var(
|
|
1455
|
+
--dsa-color-tag-cliquable-active-pressed-on-background
|
|
1456
|
+
);
|
|
1457
|
+
--dsa-wc-tag-button-active-active-background: var(
|
|
1458
|
+
--dsa-color-tag-cliquable-active-pressed-background
|
|
1459
|
+
);
|
|
1460
|
+
--dsa-wc-tag-button-active-active-border-color: var(
|
|
1461
|
+
--dsa-color-tag-cliquable-active-pressed-border
|
|
1462
|
+
);
|
|
1371
1463
|
--dsa-wc-breadcrumb-item-font: var(--dsa-font-small-normal);
|
|
1372
1464
|
--dsa-wc-breadcrumb-item-color: var(
|
|
1373
1465
|
--dsa-color-button-on-base-navigation-active
|
|
@@ -1930,10 +2022,10 @@
|
|
|
1930
2022
|
--dsa-wc-header-main-medium-padding-y: var(--dsa-spacing-16);
|
|
1931
2023
|
--dsa-wc-header-logo-width-mobile: 84px;
|
|
1932
2024
|
--dsa-wc-header-logo-width-desktop: 108px;
|
|
1933
|
-
--dsa-wc-header-logo-width-desktop-large:
|
|
2025
|
+
--dsa-wc-header-logo-width-desktop-large: 172px;
|
|
1934
2026
|
--dsa-wc-header-logo-height-mobile: 40px;
|
|
1935
2027
|
--dsa-wc-header-logo-height-desktop: 50px;
|
|
1936
|
-
--dsa-wc-header-logo-height-desktop-large:
|
|
2028
|
+
--dsa-wc-header-logo-height-desktop-large: 80px;
|
|
1937
2029
|
--dsa-wc-header-sitename-color: var(
|
|
1938
2030
|
--dsa-color-primitive-colors-identity-purple-500
|
|
1939
2031
|
);
|