@ds-autonomie/web-components 2.1.0 → 2.3.0
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 +40 -0
- package/cdn/chunks/{chunk.CZHOLGSR.js → chunk.27YOIDOY.js} +1 -1
- package/cdn/chunks/{chunk.YD6XEMWC.js → chunk.2Q6V7LT2.js} +1 -1
- package/cdn/chunks/{chunk.Y5CXRULD.js → chunk.2QGLZHHF.js} +3 -3
- package/cdn/chunks/chunk.2T2ABKP4.js +348 -0
- package/cdn/chunks/chunk.35PPY25N.js +92 -0
- package/cdn/chunks/{chunk.EARU4CHS.js → chunk.3AT66TOX.js} +1 -1
- package/cdn/chunks/{chunk.WJ2QJ5NF.js → chunk.3CRRJ74Q.js} +4 -4
- package/cdn/chunks/{chunk.SW4US4PJ.js → chunk.4AMHKT45.js} +1 -1
- package/cdn/chunks/{chunk.PGT2WHXR.js → chunk.4VWDJUDJ.js} +3 -3
- package/cdn/chunks/{chunk.6H5KLQNT.js → chunk.57JBB4UL.js} +1 -1
- package/cdn/chunks/{chunk.THD27VRI.js → chunk.57UCUSPU.js} +1 -1
- package/cdn/chunks/{chunk.E4GNTJPS.js → chunk.5AKIIMXP.js} +3 -3
- package/cdn/chunks/{chunk.7CIXFYLV.js → chunk.5EYEXU6M.js} +1 -1
- package/cdn/chunks/chunk.5IFHMXXG.js +229 -0
- package/cdn/chunks/chunk.6BPVPY42.js +318 -0
- package/{dist/chunks/chunk.IPZC55RV.js → cdn/chunks/chunk.6BXZEG5L.js} +3 -0
- package/cdn/chunks/{chunk.Z6DEWBVS.js → chunk.6NFWRZM6.js} +50 -50
- package/cdn/chunks/{chunk.RPRWT2IH.js → chunk.74QWC4UR.js} +2 -2
- package/cdn/chunks/{chunk.I7XP2UMV.js → chunk.7FRA5H32.js} +1 -1
- package/cdn/chunks/{chunk.5BL6KECM.js → chunk.7KCIFACP.js} +2 -2
- package/cdn/chunks/{chunk.27YR5DC6.js → chunk.7S74KUA4.js} +1 -13
- package/cdn/chunks/{chunk.E6VF2I6I.js → chunk.7VDWWPRU.js} +4 -3
- package/cdn/chunks/chunk.7WXOGHV7.js +46 -0
- package/cdn/chunks/{chunk.L7BI7NJL.js → chunk.7ZBG7ZQG.js} +1 -1
- package/cdn/chunks/{chunk.WO2QCEF7.js → chunk.BLLAYNRQ.js} +1 -1
- package/cdn/chunks/{chunk.Y3OADZB3.js → chunk.BPP37CID.js} +32 -32
- package/cdn/chunks/{chunk.P45DWAWT.js → chunk.CAYHSQZJ.js} +1 -1
- package/cdn/chunks/{chunk.ZDLDKWEM.js → chunk.CKDGFB52.js} +9 -6
- package/cdn/chunks/{chunk.OP36PAMU.js → chunk.CL4C4BFH.js} +2 -2
- package/cdn/chunks/chunk.D2LMY47K.js +154 -0
- package/cdn/chunks/{chunk.BE7PKTJW.js → chunk.D5IL5KN6.js} +5 -5
- package/cdn/chunks/{chunk.LCUVJAUT.js → chunk.DDRUVCZW.js} +1 -1
- package/cdn/chunks/{chunk.J3A7VDK5.js → chunk.EKKWPXJL.js} +32 -12
- package/cdn/chunks/{chunk.KTAPO27T.js → chunk.ER5ZWWSU.js} +10 -5
- package/cdn/chunks/{chunk.JTHUYIYP.js → chunk.ERQYJQKU.js} +6 -6
- package/cdn/chunks/{chunk.77JWQ5MT.js → chunk.F34KPGDS.js} +1 -1
- package/cdn/chunks/chunk.F7NUIVDV.js +10 -0
- package/cdn/chunks/{chunk.Y2DCLNZQ.js → chunk.FXVCDQEN.js} +1 -1
- package/cdn/chunks/{chunk.JSVJ7J76.js → chunk.G7UC5QGP.js} +5 -5
- package/cdn/chunks/{chunk.JBUFTMYB.js → chunk.GCLAPOSZ.js} +1 -1
- package/cdn/chunks/{chunk.W2MICEQN.js → chunk.GN3AVMBZ.js} +1 -1
- package/cdn/chunks/chunk.H2OEFMQC.js +186 -0
- package/cdn/chunks/{chunk.FMPJ4AXA.js → chunk.H3Y633AF.js} +1 -1
- package/cdn/chunks/{chunk.3TUFAITJ.js → chunk.HJU52GCK.js} +1 -1
- package/cdn/chunks/{chunk.UFCZPYZA.js → chunk.HMLKFYNH.js} +1 -1
- package/cdn/chunks/{chunk.JNDULVYM.js → chunk.HZJEKORW.js} +1 -1
- package/cdn/chunks/{chunk.TCGVOWNQ.js → chunk.IAOVYG7Z.js} +1 -1
- package/cdn/chunks/{chunk.OVD3Q2LV.js → chunk.IB463542.js} +6 -3
- package/cdn/chunks/chunk.IONY2GZF.js +72 -0
- package/cdn/chunks/chunk.ITHTXYNC.js +92 -0
- package/cdn/chunks/{chunk.MEYHIAQ5.js → chunk.IZ6KYT7R.js} +30 -15
- package/cdn/chunks/{chunk.Z2IR3WWE.js → chunk.J6J6XRPR.js} +2 -2
- package/cdn/chunks/{chunk.S4BW7KNM.js → chunk.J73YJOU4.js} +1 -1
- package/cdn/chunks/{chunk.XPL6N3OJ.js → chunk.JLZQJQF4.js} +9 -12
- package/cdn/chunks/{chunk.FHTVGJJI.js → chunk.JXHXRRPX.js} +1 -1
- package/cdn/chunks/{chunk.7KCFANDH.js → chunk.KCPXZK3D.js} +1 -1
- package/cdn/chunks/chunk.KNY4ZIQ7.js +282 -0
- package/cdn/chunks/{chunk.ZLWLHLBC.js → chunk.LICWCBKN.js} +12 -0
- package/cdn/chunks/{chunk.Y4RIWPTX.js → chunk.LLZPEDQW.js} +1 -1
- package/cdn/chunks/{chunk.QCSRN6TI.js → chunk.LYPHJJYB.js} +77 -36
- package/cdn/chunks/{chunk.OIOL7U5V.js → chunk.MNE7AANP.js} +1 -1
- package/cdn/chunks/{chunk.5AFQZ4HE.js → chunk.NX5D5OTS.js} +14 -1
- package/cdn/chunks/chunk.O3K7DNLG.js +102 -0
- package/cdn/chunks/chunk.O577BA4U.js +23 -0
- package/cdn/chunks/{chunk.IS6JFFBR.js → chunk.OLIPJEPX.js} +1 -1
- package/cdn/chunks/{chunk.T4RXUUPV.js → chunk.OMBOQURT.js} +2 -2
- package/cdn/chunks/{chunk.45JVH3EU.js → chunk.OZVVCEKQ.js} +1 -1
- package/cdn/chunks/{chunk.LRMXGBIU.js → chunk.P5KRELMB.js} +63 -65
- package/cdn/chunks/{chunk.BNPGOQZ2.js → chunk.P7D7IUHT.js} +1 -1
- package/cdn/chunks/chunk.PQYUBPRU.js +676 -0
- package/cdn/chunks/chunk.PWL7QCVG.js +9 -0
- package/cdn/chunks/{chunk.XSXBXWVS.js → chunk.QFP2EIRS.js} +1 -0
- package/cdn/chunks/{chunk.COR7P3QG.js → chunk.ROGVB4AO.js} +4 -4
- package/cdn/chunks/{chunk.RJROYRRA.js → chunk.RXUJBLKT.js} +1 -1
- package/cdn/chunks/{chunk.HNDRJ3LR.js → chunk.SE7W7XMK.js} +1 -1
- package/cdn/chunks/{chunk.PMMQ5QVY.js → chunk.SF3YU6PZ.js} +15 -1
- package/cdn/chunks/{chunk.QVX3F6W3.js → chunk.T56ZOKTF.js} +1 -1
- package/cdn/chunks/{chunk.D34ULVGO.js → chunk.TAKMMVMG.js} +1 -1
- package/cdn/chunks/{chunk.FA2HQBM6.js → chunk.TENBZ64C.js} +27 -6
- package/cdn/chunks/{chunk.P5N74W74.js → chunk.THMGZ3JS.js} +1 -1
- package/cdn/chunks/{chunk.NPJ5ZOJ4.js → chunk.TO65OMN5.js} +60 -116
- package/cdn/chunks/{chunk.6CF6SXDF.js → chunk.U5Q3HCRP.js} +1 -1
- package/cdn/chunks/{chunk.RPF6UDR4.js → chunk.US6UTTN5.js} +1 -1
- package/cdn/chunks/{chunk.3CJGMKTJ.js → chunk.V5TMX44U.js} +1 -1
- package/cdn/chunks/{chunk.3OPTPDM7.js → chunk.VGXDHXD4.js} +1 -1
- package/cdn/chunks/{chunk.XLX7QTXT.js → chunk.VZJGVIXG.js} +1 -0
- package/cdn/chunks/{chunk.NC6BC5GU.js → chunk.W2B6WXUI.js} +17 -1
- package/cdn/chunks/{chunk.XWKSA3TQ.js → chunk.W547AC5O.js} +1 -1
- package/cdn/chunks/{chunk.R6BGXKHX.js → chunk.WE7BT7PI.js} +3 -3
- package/cdn/chunks/{chunk.CVV4WLBC.js → chunk.WMMK7OL4.js} +19 -12
- package/cdn/chunks/{chunk.6E6G25TQ.js → chunk.WOKVCL7Q.js} +2 -2
- package/cdn/chunks/{chunk.77CWRZEL.js → chunk.WY2HI4TL.js} +1 -1
- package/cdn/chunks/{chunk.5BF76EO7.js → chunk.YA7ZX7VM.js} +1 -1
- package/cdn/chunks/{chunk.NVI4N3YH.js → chunk.YDBMOXIS.js} +1 -1
- package/cdn/chunks/chunk.YGAW4V4H.js +44 -0
- package/cdn/chunks/{chunk.DSKRAAOI.js → chunk.Z7VB7VAD.js} +1 -1
- package/cdn/chunks/{chunk.M5Z546V7.js → chunk.ZEPLEFIQ.js} +1 -1
- package/cdn/chunks/{chunk.YSKUVTPO.js → chunk.ZLZIVCPW.js} +1 -1
- package/cdn/chunks/chunk.ZTXQFGQX.js +198 -0
- package/cdn/chunks/{chunk.APACKBZF.js → chunk.ZUJJYUHF.js} +1 -1
- package/cdn/chunks/{chunk.3PW6CC5R.js → chunk.ZVQQ7DON.js} +1 -1
- package/cdn/components/accordion/accordion.js +5 -5
- package/cdn/components/alert/alert.js +5 -5
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/breadcrumb/breadcrumb.js +5 -5
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/cdn/components/button/button.d.ts +1 -1
- package/cdn/components/button/button.js +7 -7
- package/cdn/components/button/button.styles.js +1 -1
- package/cdn/components/calendar/calendar.js +3 -3
- package/cdn/components/callout/callout.js +3 -3
- package/cdn/components/checkbox/checkbox.d.ts +7 -3
- package/cdn/components/checkbox/checkbox.js +13 -6
- package/cdn/components/checkbox/checkbox.styles.js +2 -2
- package/cdn/components/checkbox-button/checkbox-button.d.ts +1 -0
- package/cdn/components/checkbox-button/checkbox-button.js +17 -6
- package/cdn/components/checkbox-card/checkbox-card.d.ts +25 -0
- package/cdn/components/checkbox-card/checkbox-card.js +27 -0
- package/cdn/components/checkbox-group/checkbox-group.d.ts +10 -11
- package/cdn/components/checkbox-group/checkbox-group.js +7 -9
- package/cdn/components/checkbox-group/checkbox-group.styles.js +2 -2
- package/cdn/components/combobox/combobox.d.ts +3 -2
- package/cdn/components/combobox/combobox.js +11 -10
- package/cdn/components/combobox/combobox.styles.js +2 -2
- package/cdn/components/dialog/dialog.d.ts +11 -5
- package/cdn/components/dialog/dialog.js +6 -6
- package/cdn/components/dialog/dialog.styles.js +1 -1
- package/cdn/components/download-card/download-card.js +3 -3
- package/cdn/components/download-link/download-link.js +3 -3
- package/cdn/components/drawer/drawer.js +5 -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 +3 -3
- package/cdn/components/file-upload/file-upload.d.ts +3 -2
- package/cdn/components/file-upload/file-upload.js +7 -7
- package/cdn/components/file-upload/file-upload.styles.js +2 -2
- package/cdn/components/file-upload-item/file-upload-item.js +3 -3
- package/cdn/components/filter-base/filter-base-stories.js +1 -1
- package/cdn/components/filter-base/filter-base.js +6 -6
- package/cdn/components/filter-button/filter-button.js +5 -5
- package/cdn/components/filter-counter/filter-counter.js +26 -19
- package/cdn/components/filter-date/filter-date.js +10 -10
- package/cdn/components/filter-range/filter-range.js +27 -20
- package/cdn/components/filter-select/filter-select.d.ts +5 -3
- package/cdn/components/filter-select/filter-select.js +27 -23
- package/cdn/components/footer/footer.js +3 -3
- package/cdn/components/footer/footer.styles.js +1 -1
- 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 +8 -8
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon/library.js +2 -2
- package/cdn/components/icon/library.system.js +1 -1
- package/cdn/components/icon-button/icon-button.js +3 -3
- package/cdn/components/input/input.d.ts +3 -7
- package/cdn/components/input/input.js +20 -13
- package/cdn/components/input/input.styles.js +2 -2
- package/cdn/components/input-date/input-date.d.ts +7 -2
- package/cdn/components/input-date/input-date.js +13 -12
- package/cdn/components/input-date/input-date.styles.js +3 -3
- package/cdn/components/input-mask/input-mask.js +9 -8
- package/cdn/components/input-mask/input-mask.styles.js +2 -2
- package/cdn/components/input-otp/input-otp.d.ts +90 -0
- package/cdn/components/input-otp/input-otp.js +38 -0
- package/cdn/components/input-otp/input-otp.styles.d.ts +2 -0
- package/cdn/components/input-otp/input-otp.styles.js +11 -0
- package/cdn/components/input-otp/input-otp.utils.d.ts +3 -0
- package/cdn/components/input-otp/input-otp.utils.js +11 -0
- package/cdn/components/input-phone/input-phone.js +16 -15
- package/cdn/components/input-phone/input-phone.styles.js +2 -2
- package/cdn/components/input-time/input-time.d.ts +121 -0
- package/cdn/components/input-time/input-time.js +50 -0
- package/cdn/components/input-time/input-time.styles.d.ts +2 -0
- package/cdn/components/input-time/input-time.styles.js +12 -0
- package/cdn/components/input-time/input-time.utils.d.ts +17 -0
- package/cdn/components/input-time/input-time.utils.js +13 -0
- package/cdn/components/menu-accordion/menu-accordion.js +5 -5
- package/cdn/components/menu-item/menu-item.js +3 -3
- package/cdn/components/navbar-link/navbar-link.js +3 -3
- package/cdn/components/navbar-menu/navbar-menu.js +5 -5
- package/cdn/components/option/option.js +5 -5
- package/cdn/components/pagination/pagination.js +25 -20
- package/cdn/components/pagination-button/pagination-button.js +3 -3
- package/cdn/components/pagination-button/pagination-button.styles.js +2 -2
- package/cdn/components/profile-button/profile-button.js +7 -7
- package/cdn/components/progress-bar/progress-bar.js +2 -2
- package/cdn/components/quote/quote.js +3 -3
- package/cdn/components/radio/radio.d.ts +6 -5
- package/cdn/components/radio/radio.js +7 -5
- package/cdn/components/radio/radio.styles.js +1 -1
- package/cdn/components/radio-button/radio-button.d.ts +1 -1
- package/cdn/components/radio-button/radio-button.js +10 -11
- package/cdn/components/radio-card/radio-card.d.ts +24 -0
- package/cdn/components/radio-card/radio-card.js +39 -0
- package/cdn/components/radio-group/radio-group.d.ts +6 -5
- package/cdn/components/radio-group/radio-group.js +7 -9
- package/cdn/components/radio-group/radio-group.styles.js +2 -2
- package/cdn/components/relative-time/relative-time.js +2 -2
- package/cdn/components/select/select.d.ts +4 -2
- package/cdn/components/select/select.js +10 -9
- package/cdn/components/select/select.styles.js +2 -2
- 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 +5 -5
- package/cdn/components/step/step.js +6 -5
- package/cdn/components/switch/switch.d.ts +84 -0
- package/cdn/components/switch/switch.js +30 -0
- package/cdn/components/switch/switch.styles.d.ts +2 -0
- package/cdn/components/switch/switch.styles.js +9 -0
- package/cdn/components/tab/tab.js +5 -5
- package/cdn/components/tab-group/tab-group.js +5 -5
- package/cdn/components/table-action/table-action.js +2 -2
- package/cdn/components/table-body/table-body.js +2 -2
- package/cdn/components/table-caption/table-caption.js +2 -2
- package/cdn/components/table-header-cell/table-header-cell.js +3 -3
- package/cdn/components/table-header-row/table-header-row.js +17 -13
- package/cdn/components/table-of-contents/table-of-contents.js +2 -2
- package/cdn/components/table-row/table-row.js +14 -8
- package/cdn/components/tag/tag.js +5 -5
- package/cdn/components/textarea/textarea.js +8 -7
- package/cdn/components/textarea/textarea.styles.js +2 -2
- package/cdn/components/tooltip/tooltip.js +2 -2
- package/cdn/components/tree/tree.js +18 -11
- package/cdn/components/tree-item/tree-item.js +16 -9
- package/cdn/custom-elements.json +6157 -4244
- package/cdn/design-system.d.ts +8 -2
- package/cdn/design-system.js +350 -160
- package/cdn/internal/a11y-warning.d.ts +2 -0
- package/cdn/internal/a11y-warning.js +4 -0
- package/cdn/internal/components/checkbox-box/checkbox-box.d.ts +27 -0
- package/cdn/internal/components/checkbox-box/checkbox-box.js +94 -0
- package/cdn/internal/components/checkbox-box/checkbox-box.styles.d.ts +2 -0
- package/cdn/internal/components/checkbox-box/checkbox-box.styles.js +98 -0
- package/cdn/internal/components/date-field/date-field.d.ts +1 -0
- package/cdn/internal/components/date-field/date-field.js +29 -10
- package/cdn/internal/components/form-control/form-control-layout.d.ts +1 -0
- package/cdn/internal/components/form-control/form-control-layout.js +10 -1
- package/cdn/internal/components/form-selectable-card/form-selectable-card-stories.d.ts +2 -0
- package/cdn/internal/components/form-selectable-card/form-selectable-card-stories.js +77 -0
- package/cdn/internal/components/form-selectable-card/form-selectable-card.d.ts +38 -0
- package/cdn/internal/components/form-selectable-card/form-selectable-card.js +182 -0
- package/cdn/internal/components/form-selectable-card/form-selectable-card.styles.d.ts +2 -0
- package/cdn/internal/components/form-selectable-card/form-selectable-card.styles.js +141 -0
- package/cdn/internal/components/form-toggle-button/form-toggle-button.d.ts +5 -1
- package/cdn/internal/components/form-toggle-button/form-toggle-button.js +29 -9
- package/cdn/internal/components/form-toggle-button/form-toggle-button.styles.js +7 -0
- package/cdn/internal/components/radio-icon/radio-icon.d.ts +22 -0
- package/cdn/internal/components/radio-icon/radio-icon.js +66 -0
- package/cdn/internal/components/radio-icon/radio-icon.styles.d.ts +2 -0
- package/cdn/internal/components/radio-icon/radio-icon.styles.js +86 -0
- package/cdn/styles/form-control.styles.js +17 -1
- package/cdn/themes/dsa-wc-theme.css +174 -5
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +178 -5
- 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/date.js +1 -1
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/utilities/localize.d.ts +6 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/utilities/storybook.js +1 -1
- package/cdn/vscode.html-custom-data.json +238 -14
- package/cdn/web-types.json +1275 -169
- package/dist/chunks/{chunk.JCL6HX6O.js → chunk.2GRTPJX3.js} +1 -1
- package/dist/chunks/{chunk.CPCLGC5J.js → chunk.2O3M7HBZ.js} +1 -1
- package/dist/chunks/{chunk.ZYTDWH4E.js → chunk.2W6FOXSH.js} +60 -116
- package/dist/chunks/{chunk.EQZ4YFRU.js → chunk.3B3226HJ.js} +1 -1
- package/dist/chunks/{chunk.RWGL6D5U.js → chunk.3EAWXV27.js} +1 -1
- package/dist/chunks/{chunk.YXXLXJPE.js → chunk.3HX6HRHC.js} +14 -1
- package/dist/chunks/chunk.3NNE7XGI.js +196 -0
- package/dist/chunks/{chunk.FQB6S2KS.js → chunk.3SX7AERB.js} +1 -1
- package/dist/chunks/{chunk.ZGQUBAEK.js → chunk.4P7DDUA4.js} +3 -3
- package/dist/chunks/{chunk.XXHMFUD7.js → chunk.52V3WTR3.js} +5 -5
- package/dist/chunks/{chunk.LGA24XY2.js → chunk.54KX7M52.js} +1 -1
- package/dist/chunks/{chunk.T4BUHP4L.js → chunk.5EBCNG2J.js} +13 -1
- package/dist/chunks/{chunk.IZDRWFAB.js → chunk.5NUQTJJR.js} +1 -1
- package/dist/chunks/{chunk.JX7OISYA.js → chunk.5NXRUN57.js} +63 -65
- package/{cdn/chunks/chunk.IPZC55RV.js → dist/chunks/chunk.6BXZEG5L.js} +3 -0
- package/dist/chunks/{chunk.BQQ2GUR6.js → chunk.6K4LF64W.js} +1 -1
- package/dist/chunks/{chunk.GGXJ2MP3.js → chunk.6KWCQDRD.js} +32 -12
- package/dist/chunks/{chunk.2EDNCADP.js → chunk.6SDBUBGE.js} +1 -0
- package/dist/chunks/{chunk.BP4NJFKE.js → chunk.6ZJSEOLO.js} +1 -1
- package/dist/chunks/{chunk.LKCPAJMF.js → chunk.77ECBNUM.js} +6 -3
- package/dist/chunks/{chunk.MEPTPSE5.js → chunk.7KMMSAQN.js} +3 -3
- package/dist/chunks/chunk.7YIOE3D2.js +663 -0
- package/dist/chunks/{chunk.OHPSPLZO.js → chunk.AFRAGNLK.js} +6 -6
- package/dist/chunks/chunk.ANOLAL4B.js +90 -0
- package/dist/chunks/{chunk.CQHOJJEI.js → chunk.B2KV6DSI.js} +1 -1
- package/dist/chunks/{chunk.Y72CHU6D.js → chunk.B4SMUSVU.js} +30 -15
- package/dist/chunks/{chunk.XD25ELCV.js → chunk.BCLTC7W4.js} +1 -1
- package/dist/chunks/{chunk.WQYBYKZ2.js → chunk.BNREFNJW.js} +4 -3
- package/dist/chunks/chunk.BQEHELQ5.js +90 -0
- package/dist/chunks/{chunk.P45DWAWT.js → chunk.CAYHSQZJ.js} +1 -1
- package/dist/chunks/{chunk.2XRDIFUO.js → chunk.CEGU6OTH.js} +1 -1
- package/dist/chunks/chunk.CN6TUCPE.js +335 -0
- package/dist/chunks/{chunk.QRCGXHRO.js → chunk.CQR34TNY.js} +1 -0
- package/dist/chunks/{chunk.VNFFOE7Z.js → chunk.CWDSCTUA.js} +1 -1
- package/dist/chunks/{chunk.P4HRQ2D7.js → chunk.D6SKE3AF.js} +2 -2
- package/dist/chunks/{chunk.6ZAEF56K.js → chunk.DB3EDROT.js} +1 -1
- package/dist/chunks/{chunk.RZT42FVN.js → chunk.DIM7WDHO.js} +1 -1
- package/dist/chunks/{chunk.7DBNKQ7N.js → chunk.DLACE2NU.js} +2 -2
- package/dist/chunks/{chunk.W7TI3W77.js → chunk.DLE3F4GC.js} +1 -1
- package/dist/chunks/chunk.E45DVVIM.js +271 -0
- package/dist/chunks/{chunk.LB54GRRB.js → chunk.EAYW5L6J.js} +2 -2
- package/dist/chunks/{chunk.QDKQMUIQ.js → chunk.EIZK62ST.js} +17 -1
- package/dist/chunks/{chunk.T6UX2FVU.js → chunk.EK7OT2VJ.js} +4 -4
- package/dist/chunks/{chunk.FKXOTDTY.js → chunk.ERN34WYC.js} +5 -5
- package/dist/chunks/chunk.F7NUIVDV.js +10 -0
- package/dist/chunks/{chunk.3TJPAISV.js → chunk.FC2HFFUI.js} +1 -1
- package/dist/chunks/chunk.FK5HR2F4.js +100 -0
- package/dist/chunks/{chunk.XRZGSSHY.js → chunk.FWVIQUG4.js} +1 -1
- package/dist/chunks/{chunk.BDO6TPPP.js → chunk.G6JRMCFB.js} +32 -32
- package/dist/chunks/{chunk.WWANVBI5.js → chunk.GGBIEJ25.js} +3 -3
- package/dist/chunks/{chunk.JIWB4B3J.js → chunk.GW2MJTCT.js} +1 -1
- package/dist/chunks/{chunk.NHXG2KMS.js → chunk.HAYCQF2N.js} +1 -1
- package/dist/chunks/{chunk.3XIJ443Y.js → chunk.HEOHHRVV.js} +1 -13
- package/dist/chunks/{chunk.3TUFAITJ.js → chunk.HJU52GCK.js} +1 -1
- package/dist/chunks/{chunk.PUYBBM4K.js → chunk.HTBAICPA.js} +1 -1
- package/dist/chunks/{chunk.6GN2WDDT.js → chunk.IDGKF6AP.js} +3 -3
- package/dist/chunks/{chunk.IPUOJRFA.js → chunk.IIYPN5OC.js} +1 -1
- package/dist/chunks/chunk.IONY2GZF.js +72 -0
- package/dist/chunks/chunk.ITAWMEY7.js +42 -0
- package/dist/chunks/{chunk.SYVX56PU.js → chunk.ITUK4PON.js} +1 -1
- package/dist/chunks/{chunk.2JIPPL3I.js → chunk.JEZOETYM.js} +27 -6
- package/dist/chunks/{chunk.EGH3AVD7.js → chunk.K3HEMTRQ.js} +2 -2
- package/dist/chunks/{chunk.2VH3OZ2T.js → chunk.K53YJ3XK.js} +1 -1
- package/dist/chunks/{chunk.2VBJKC24.js → chunk.KFUZ6JMQ.js} +1 -1
- package/dist/chunks/{chunk.XPSUKRU5.js → chunk.KQ224IDT.js} +1 -1
- package/dist/chunks/{chunk.IF24VKLH.js → chunk.L66AKAXM.js} +1 -1
- package/dist/chunks/{chunk.VT3IWNRD.js → chunk.LE5LHO5Y.js} +1 -1
- package/dist/chunks/{chunk.MJKJSMQX.js → chunk.LGVJZXUH.js} +9 -12
- package/dist/chunks/{chunk.47JHZBMB.js → chunk.M5QF4L4W.js} +1 -1
- package/dist/chunks/{chunk.G422H4DZ.js → chunk.MAENDYI7.js} +50 -50
- package/dist/chunks/{chunk.AF5WMYR2.js → chunk.MYSJOWY5.js} +1 -1
- package/dist/chunks/{chunk.WOV5QN3O.js → chunk.NF5ELBI4.js} +4 -4
- package/dist/chunks/{chunk.3Z33EVFU.js → chunk.NPCMEZGE.js} +1 -1
- package/dist/chunks/chunk.NVQTI6CK.js +44 -0
- package/dist/chunks/{chunk.D3SHMAJT.js → chunk.O4WGPUE5.js} +77 -36
- package/dist/chunks/chunk.ODXKNTKC.js +21 -0
- package/dist/chunks/{chunk.IZACKXPC.js → chunk.P3CATWXI.js} +1 -1
- package/dist/chunks/{chunk.BXOGG3JO.js → chunk.P5DC3N5P.js} +9 -6
- package/dist/chunks/{chunk.AVHERTGT.js → chunk.PTFOYYGJ.js} +1 -1
- package/dist/chunks/chunk.PWL7QCVG.js +9 -0
- package/dist/chunks/chunk.PWVYG6XN.js +181 -0
- package/dist/chunks/{chunk.NCECJWN7.js → chunk.QBHSEMUU.js} +10 -5
- package/dist/chunks/{chunk.ZSBVQKVM.js → chunk.SWP3OZUN.js} +1 -1
- package/dist/chunks/{chunk.KLKJ2LRK.js → chunk.T2OLM5TG.js} +1 -1
- package/dist/chunks/chunk.TZFYJ4KJ.js +311 -0
- package/dist/chunks/{chunk.QLA2JXR7.js → chunk.U7ZMMMJ3.js} +12 -0
- package/dist/chunks/{chunk.UNO3SMWX.js → chunk.UG7D663E.js} +1 -1
- package/dist/chunks/{chunk.O3AR4B4F.js → chunk.UL2XNE5X.js} +2 -2
- package/dist/chunks/{chunk.EP7LLKJN.js → chunk.V75T6QXR.js} +1 -1
- package/dist/chunks/chunk.VKIBAACD.js +226 -0
- package/dist/chunks/{chunk.FQMS24GI.js → chunk.WB2DWTAB.js} +1 -1
- package/dist/chunks/{chunk.F6UPK2KI.js → chunk.WIVRYVXD.js} +1 -1
- package/dist/chunks/{chunk.5DXVFMIN.js → chunk.WOJO2VFN.js} +1 -1
- package/dist/chunks/{chunk.6QAB5TYJ.js → chunk.WPIYFGT2.js} +1 -1
- package/dist/chunks/{chunk.ECZMLO4V.js → chunk.X6UZBREW.js} +1 -1
- package/dist/chunks/chunk.XDEXZL3R.js +149 -0
- package/dist/chunks/{chunk.LSZ7ATDZ.js → chunk.XMPGIWRA.js} +1 -1
- package/dist/chunks/{chunk.AH74EN4A.js → chunk.YOMZYBQL.js} +1 -1
- package/dist/chunks/{chunk.KFRR2I2P.js → chunk.YVOXMJ6Q.js} +1 -1
- package/dist/chunks/{chunk.Z7DBDDCZ.js → chunk.YZTXGQRN.js} +19 -12
- package/dist/chunks/{chunk.ZCWLSBSD.js → chunk.Z2YO6E64.js} +2 -2
- package/dist/components/accordion/accordion.js +5 -5
- package/dist/components/alert/alert.js +5 -5
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/breadcrumb/breadcrumb.js +5 -5
- package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/button.js +7 -7
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/calendar/calendar.js +3 -3
- package/dist/components/callout/callout.js +3 -3
- package/dist/components/checkbox/checkbox.d.ts +7 -3
- package/dist/components/checkbox/checkbox.js +12 -6
- package/dist/components/checkbox/checkbox.styles.js +2 -2
- package/dist/components/checkbox-button/checkbox-button.d.ts +1 -0
- package/dist/components/checkbox-button/checkbox-button.js +17 -6
- package/dist/components/checkbox-card/checkbox-card.d.ts +25 -0
- package/dist/components/checkbox-card/checkbox-card.js +21 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +10 -11
- package/dist/components/checkbox-group/checkbox-group.js +7 -8
- package/dist/components/checkbox-group/checkbox-group.styles.js +2 -2
- package/dist/components/combobox/combobox.d.ts +3 -2
- package/dist/components/combobox/combobox.js +11 -10
- package/dist/components/combobox/combobox.styles.js +2 -2
- package/dist/components/dialog/dialog.d.ts +11 -5
- package/dist/components/dialog/dialog.js +6 -6
- package/dist/components/dialog/dialog.styles.js +1 -1
- package/dist/components/download-card/download-card.js +3 -3
- package/dist/components/download-link/download-link.js +3 -3
- package/dist/components/drawer/drawer.js +5 -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 +3 -3
- package/dist/components/file-upload/file-upload.d.ts +3 -2
- package/dist/components/file-upload/file-upload.js +7 -7
- package/dist/components/file-upload/file-upload.styles.js +2 -2
- package/dist/components/file-upload-item/file-upload-item.js +3 -3
- package/dist/components/filter-base/filter-base-stories.js +1 -1
- package/dist/components/filter-base/filter-base.js +6 -6
- package/dist/components/filter-button/filter-button.js +5 -5
- package/dist/components/filter-counter/filter-counter.js +26 -19
- package/dist/components/filter-date/filter-date.js +10 -10
- package/dist/components/filter-range/filter-range.js +27 -20
- package/dist/components/filter-select/filter-select.d.ts +5 -3
- package/dist/components/filter-select/filter-select.js +27 -23
- package/dist/components/footer/footer.js +3 -3
- package/dist/components/footer/footer.styles.js +1 -1
- 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 +8 -8
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon/library.system.js +1 -1
- package/dist/components/icon-button/icon-button.js +3 -3
- package/dist/components/input/input.d.ts +3 -7
- package/dist/components/input/input.js +20 -13
- package/dist/components/input/input.styles.js +2 -2
- package/dist/components/input-date/input-date.d.ts +7 -2
- package/dist/components/input-date/input-date.js +13 -12
- package/dist/components/input-date/input-date.styles.js +3 -3
- package/dist/components/input-mask/input-mask.js +9 -8
- package/dist/components/input-mask/input-mask.styles.js +2 -2
- package/dist/components/input-otp/input-otp.d.ts +90 -0
- package/dist/components/input-otp/input-otp.js +31 -0
- package/dist/components/input-otp/input-otp.styles.d.ts +2 -0
- package/dist/components/input-otp/input-otp.styles.js +9 -0
- package/dist/components/input-otp/input-otp.utils.d.ts +3 -0
- package/dist/components/input-otp/input-otp.utils.js +11 -0
- package/dist/components/input-phone/input-phone.js +16 -15
- package/dist/components/input-phone/input-phone.styles.js +2 -2
- package/dist/components/input-time/input-time.d.ts +121 -0
- package/dist/components/input-time/input-time.js +42 -0
- package/dist/components/input-time/input-time.styles.d.ts +2 -0
- package/dist/components/input-time/input-time.styles.js +10 -0
- package/dist/components/input-time/input-time.utils.d.ts +17 -0
- package/dist/components/input-time/input-time.utils.js +13 -0
- package/dist/components/menu-accordion/menu-accordion.js +5 -5
- package/dist/components/menu-item/menu-item.js +3 -3
- package/dist/components/navbar-link/navbar-link.js +3 -3
- package/dist/components/navbar-menu/navbar-menu.js +5 -5
- package/dist/components/option/option.js +5 -5
- package/dist/components/pagination/pagination.js +25 -20
- package/dist/components/pagination-button/pagination-button.js +3 -3
- package/dist/components/pagination-button/pagination-button.styles.js +2 -2
- package/dist/components/profile-button/profile-button.js +7 -7
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/quote/quote.js +3 -3
- package/dist/components/radio/radio.d.ts +6 -5
- package/dist/components/radio/radio.js +6 -5
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/radio-button/radio-button.d.ts +1 -1
- package/dist/components/radio-button/radio-button.js +10 -11
- package/dist/components/radio-card/radio-card.d.ts +24 -0
- package/dist/components/radio-card/radio-card.js +33 -0
- package/dist/components/radio-group/radio-group.d.ts +6 -5
- package/dist/components/radio-group/radio-group.js +7 -8
- package/dist/components/radio-group/radio-group.styles.js +2 -2
- package/dist/components/relative-time/relative-time.js +2 -2
- package/dist/components/select/select.d.ts +4 -2
- package/dist/components/select/select.js +10 -9
- package/dist/components/select/select.styles.js +2 -2
- 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 +5 -5
- package/dist/components/step/step.js +6 -5
- package/dist/components/switch/switch.d.ts +84 -0
- package/dist/components/switch/switch.js +23 -0
- package/dist/components/switch/switch.styles.d.ts +2 -0
- package/dist/components/switch/switch.styles.js +7 -0
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.js +5 -5
- package/dist/components/table-action/table-action.js +2 -2
- package/dist/components/table-body/table-body.js +2 -2
- package/dist/components/table-caption/table-caption.js +2 -2
- package/dist/components/table-header-cell/table-header-cell.js +3 -3
- package/dist/components/table-header-row/table-header-row.js +16 -12
- package/dist/components/table-of-contents/table-of-contents.js +2 -2
- package/dist/components/table-row/table-row.js +14 -8
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.js +8 -7
- package/dist/components/textarea/textarea.styles.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.js +17 -11
- package/dist/components/tree-item/tree-item.js +15 -9
- package/dist/custom-elements.json +6157 -4244
- package/dist/design-system.d.ts +8 -2
- package/dist/design-system.js +343 -157
- package/dist/internal/a11y-warning.d.ts +2 -0
- package/dist/internal/a11y-warning.js +4 -0
- package/dist/internal/components/checkbox-box/checkbox-box.d.ts +27 -0
- package/dist/internal/components/checkbox-box/checkbox-box.js +94 -0
- package/dist/internal/components/checkbox-box/checkbox-box.styles.d.ts +2 -0
- package/dist/internal/components/checkbox-box/checkbox-box.styles.js +98 -0
- package/dist/internal/components/date-field/date-field.d.ts +1 -0
- package/dist/internal/components/date-field/date-field.js +29 -10
- package/dist/internal/components/form-control/form-control-layout.d.ts +1 -0
- package/dist/internal/components/form-control/form-control-layout.js +10 -1
- package/dist/internal/components/form-selectable-card/form-selectable-card-stories.d.ts +2 -0
- package/dist/internal/components/form-selectable-card/form-selectable-card-stories.js +77 -0
- package/dist/internal/components/form-selectable-card/form-selectable-card.d.ts +38 -0
- package/dist/internal/components/form-selectable-card/form-selectable-card.js +182 -0
- package/dist/internal/components/form-selectable-card/form-selectable-card.styles.d.ts +2 -0
- package/dist/internal/components/form-selectable-card/form-selectable-card.styles.js +141 -0
- package/dist/internal/components/form-toggle-button/form-toggle-button.d.ts +5 -1
- package/dist/internal/components/form-toggle-button/form-toggle-button.js +29 -9
- package/dist/internal/components/form-toggle-button/form-toggle-button.styles.js +7 -0
- package/dist/internal/components/radio-icon/radio-icon.d.ts +22 -0
- package/dist/internal/components/radio-icon/radio-icon.js +66 -0
- package/dist/internal/components/radio-icon/radio-icon.styles.d.ts +2 -0
- package/dist/internal/components/radio-icon/radio-icon.styles.js +86 -0
- package/dist/styles/form-control.styles.js +17 -1
- package/dist/themes/dsa-wc-theme.css +174 -5
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +178 -5
- 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/date.js +1 -1
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +6 -0
- package/dist/utilities/localize.js +1 -1
- package/dist/utilities/storybook.js +1 -1
- package/dist/vscode.html-custom-data.json +238 -14
- package/dist/web-types.json +1275 -169
- package/package.json +2 -2
- package/cdn/chunks/chunk.N3WADQAB.js +0 -157
- package/cdn/chunks/chunk.OZEY33RC.js +0 -61
- package/cdn/chunks/chunk.PS4PM6DJ.js +0 -164
- package/cdn/chunks/chunk.ZIPOQO6F.js +0 -188
- package/cdn/internal/test/disable-a11y-warnings.d.ts +0 -2
- package/cdn/internal/test/disable-a11y-warnings.js +0 -10
- package/dist/chunks/chunk.35CKPBLE.js +0 -155
- package/dist/chunks/chunk.AYDVF4T3.js +0 -157
- package/dist/chunks/chunk.GDOUDNZH.js +0 -186
- package/dist/chunks/chunk.VOOE2BQV.js +0 -59
- package/dist/internal/test/disable-a11y-warnings.d.ts +0 -2
- package/dist/internal/test/disable-a11y-warnings.js +0 -10
- package/cdn/chunks/{chunk.P33HFS7T.js → chunk.V2UYRTUC.js} +3 -3
- package/dist/chunks/{chunk.7BFH35RV.js → chunk.63MNXWSY.js} +3 -3
|
@@ -1,23 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSAInput
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.LYPHJJYB.js";
|
|
4
|
+
import "../../chunks/chunk.PQYUBPRU.js";
|
|
5
|
+
import "../../chunks/chunk.IONY2GZF.js";
|
|
6
|
+
import "../../chunks/chunk.ITHTXYNC.js";
|
|
4
7
|
import "../../chunks/chunk.EF2VOGBL.js";
|
|
5
|
-
import "../../chunks/chunk.
|
|
6
|
-
import "../../chunks/chunk.
|
|
7
|
-
import "../../chunks/chunk.
|
|
8
|
-
import "../../chunks/chunk.
|
|
9
|
-
import "../../chunks/chunk.
|
|
8
|
+
import "../../chunks/chunk.CKDGFB52.js";
|
|
9
|
+
import "../../chunks/chunk.DDRUVCZW.js";
|
|
10
|
+
import "../../chunks/chunk.T56ZOKTF.js";
|
|
11
|
+
import "../../chunks/chunk.IZ6KYT7R.js";
|
|
12
|
+
import "../../chunks/chunk.SF3YU6PZ.js";
|
|
10
13
|
import "../../chunks/chunk.I4EWJGZZ.js";
|
|
11
14
|
import "../../chunks/chunk.IEQULSYY.js";
|
|
12
|
-
import "../../chunks/chunk.
|
|
15
|
+
import "../../chunks/chunk.EMIT7S33.js";
|
|
16
|
+
import "../../chunks/chunk.74QWC4UR.js";
|
|
13
17
|
import "../../chunks/chunk.WCF4VYWI.js";
|
|
14
|
-
import "../../chunks/chunk.
|
|
18
|
+
import "../../chunks/chunk.6BXZEG5L.js";
|
|
15
19
|
import "../../chunks/chunk.7PPSHHT2.js";
|
|
16
20
|
import "../../chunks/chunk.YY5FKN3H.js";
|
|
21
|
+
import "../../chunks/chunk.SCHNZ3XK.js";
|
|
22
|
+
import "../../chunks/chunk.6B5RR3IS.js";
|
|
23
|
+
import "../../chunks/chunk.PWL7QCVG.js";
|
|
17
24
|
import "../../chunks/chunk.RGTLY6EQ.js";
|
|
18
25
|
import "../../chunks/chunk.5UPL2TW3.js";
|
|
19
26
|
import "../../chunks/chunk.EY4WUNAJ.js";
|
|
20
|
-
import "../../chunks/chunk.
|
|
27
|
+
import "../../chunks/chunk.W2B6WXUI.js";
|
|
21
28
|
import "../../chunks/chunk.3NWILHZZ.js";
|
|
22
29
|
import "../../chunks/chunk.YIY5RM53.js";
|
|
23
30
|
import "../../chunks/chunk.WOGTGKIT.js";
|
|
@@ -27,15 +34,15 @@ import "../../chunks/chunk.VIVOXZF6.js";
|
|
|
27
34
|
import "../../chunks/chunk.B4BZKR24.js";
|
|
28
35
|
import "../../chunks/chunk.UBKKXGSV.js";
|
|
29
36
|
import "../../chunks/chunk.2WRFDMKN.js";
|
|
30
|
-
import "../../chunks/chunk.
|
|
37
|
+
import "../../chunks/chunk.LICWCBKN.js";
|
|
31
38
|
import "../../chunks/chunk.CAMVBH5H.js";
|
|
32
|
-
import "../../chunks/chunk.
|
|
39
|
+
import "../../chunks/chunk.D5IL5KN6.js";
|
|
40
|
+
import "../../chunks/chunk.CAYHSQZJ.js";
|
|
33
41
|
import "../../chunks/chunk.23TOS4ZE.js";
|
|
34
42
|
import "../../chunks/chunk.XNEONNEJ.js";
|
|
35
43
|
import "../../chunks/chunk.GNULOP2U.js";
|
|
36
|
-
import "../../chunks/chunk.P45DWAWT.js";
|
|
37
44
|
import "../../chunks/chunk.C2W7WMBY.js";
|
|
38
|
-
import "../../chunks/chunk.
|
|
45
|
+
import "../../chunks/chunk.HJU52GCK.js";
|
|
39
46
|
import "../../chunks/chunk.4FQJ3QJK.js";
|
|
40
47
|
import "../../chunks/chunk.L633QVVV.js";
|
|
41
48
|
import "../../chunks/chunk.B6GVVW66.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
input_styles_default
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.T56ZOKTF.js";
|
|
4
|
+
import "../../chunks/chunk.W2B6WXUI.js";
|
|
5
5
|
import "../../chunks/chunk.PSQJDSB2.js";
|
|
6
6
|
import "../../chunks/chunk.4KHZQZ3M.js";
|
|
7
7
|
import "../../chunks/chunk.7HUC6BF3.js";
|
|
@@ -6,13 +6,12 @@ import type { ShoelaceFormControl } from '../../internal/shoelace-element';
|
|
|
6
6
|
import '../calendar/calendar';
|
|
7
7
|
import type DSAIconButton from '../icon-button/icon-button';
|
|
8
8
|
import '../icon-button/icon-button';
|
|
9
|
-
import '../icon/icon';
|
|
10
9
|
import '../popup/popup';
|
|
11
10
|
import type DSAPopup from '../popup/popup';
|
|
12
11
|
/**
|
|
13
12
|
* @summary (Internal) Input-date collect date data from the user.
|
|
14
13
|
*
|
|
15
|
-
* @dependency dsa-icon
|
|
14
|
+
* @dependency dsa-icon-button
|
|
16
15
|
* @dependency dsa-error-text
|
|
17
16
|
*
|
|
18
17
|
* @slot label - The input's label. Alternatively, you can use the `label` attribute.
|
|
@@ -26,6 +25,11 @@ import type DSAPopup from '../popup/popup';
|
|
|
26
25
|
* @event dsa-focus - Emitted when the control gains focus.
|
|
27
26
|
* @event dsa-input - Emitted when the control receives input.
|
|
28
27
|
* @event dsa-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.
|
|
28
|
+
* @event dsa-show - Emitted when the picker opens.
|
|
29
|
+
* @event dsa-after-show - Emitted after the picker opens and all animations are complete.
|
|
30
|
+
* @event dsa-hide - Emitted when the picker closes.
|
|
31
|
+
* @event dsa-after-hide - Emitted after the picker closes and all animations are complete.
|
|
32
|
+
|
|
29
33
|
*/
|
|
30
34
|
export default class DSAInputDate extends FormControlLayout implements ShoelaceFormControl {
|
|
31
35
|
static styles: CSSResultGroup;
|
|
@@ -94,6 +98,7 @@ export default class DSAInputDate extends FormControlLayout implements ShoelaceF
|
|
|
94
98
|
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
95
99
|
setCustomValidity(message: string): void;
|
|
96
100
|
getUpdateComplete(): Promise<boolean>;
|
|
101
|
+
protected handleLabelClick(): void;
|
|
97
102
|
renderInput(): import("lit").TemplateResult<1>;
|
|
98
103
|
}
|
|
99
104
|
declare global {
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSAInputDate
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
5
|
-
import "../../chunks/chunk.
|
|
6
|
-
import "../../chunks/chunk.
|
|
7
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.CKDGFB52.js";
|
|
4
|
+
import "../../chunks/chunk.DDRUVCZW.js";
|
|
5
|
+
import "../../chunks/chunk.T56ZOKTF.js";
|
|
6
|
+
import "../../chunks/chunk.IZ6KYT7R.js";
|
|
7
|
+
import "../../chunks/chunk.SF3YU6PZ.js";
|
|
8
8
|
import "../../chunks/chunk.I4EWJGZZ.js";
|
|
9
9
|
import "../../chunks/chunk.IEQULSYY.js";
|
|
10
|
-
import "../../chunks/chunk.
|
|
10
|
+
import "../../chunks/chunk.74QWC4UR.js";
|
|
11
11
|
import "../../chunks/chunk.WCF4VYWI.js";
|
|
12
|
-
import "../../chunks/chunk.
|
|
12
|
+
import "../../chunks/chunk.6BXZEG5L.js";
|
|
13
13
|
import "../../chunks/chunk.7PPSHHT2.js";
|
|
14
14
|
import "../../chunks/chunk.YY5FKN3H.js";
|
|
15
|
+
import "../../chunks/chunk.PWL7QCVG.js";
|
|
15
16
|
import "../../chunks/chunk.RGTLY6EQ.js";
|
|
16
17
|
import "../../chunks/chunk.5UPL2TW3.js";
|
|
17
18
|
import "../../chunks/chunk.EY4WUNAJ.js";
|
|
18
|
-
import "../../chunks/chunk.
|
|
19
|
+
import "../../chunks/chunk.W2B6WXUI.js";
|
|
19
20
|
import "../../chunks/chunk.3NWILHZZ.js";
|
|
20
21
|
import "../../chunks/chunk.YIY5RM53.js";
|
|
21
22
|
import "../../chunks/chunk.WOGTGKIT.js";
|
|
@@ -25,15 +26,15 @@ import "../../chunks/chunk.VIVOXZF6.js";
|
|
|
25
26
|
import "../../chunks/chunk.B4BZKR24.js";
|
|
26
27
|
import "../../chunks/chunk.UBKKXGSV.js";
|
|
27
28
|
import "../../chunks/chunk.2WRFDMKN.js";
|
|
28
|
-
import "../../chunks/chunk.
|
|
29
|
+
import "../../chunks/chunk.LICWCBKN.js";
|
|
29
30
|
import "../../chunks/chunk.CAMVBH5H.js";
|
|
30
|
-
import "../../chunks/chunk.
|
|
31
|
+
import "../../chunks/chunk.D5IL5KN6.js";
|
|
32
|
+
import "../../chunks/chunk.CAYHSQZJ.js";
|
|
31
33
|
import "../../chunks/chunk.23TOS4ZE.js";
|
|
32
34
|
import "../../chunks/chunk.XNEONNEJ.js";
|
|
33
35
|
import "../../chunks/chunk.GNULOP2U.js";
|
|
34
|
-
import "../../chunks/chunk.P45DWAWT.js";
|
|
35
36
|
import "../../chunks/chunk.C2W7WMBY.js";
|
|
36
|
-
import "../../chunks/chunk.
|
|
37
|
+
import "../../chunks/chunk.HJU52GCK.js";
|
|
37
38
|
import "../../chunks/chunk.4FQJ3QJK.js";
|
|
38
39
|
import "../../chunks/chunk.L633QVVV.js";
|
|
39
40
|
import "../../chunks/chunk.B6GVVW66.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
input_date_styles_default
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
5
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.DDRUVCZW.js";
|
|
4
|
+
import "../../chunks/chunk.T56ZOKTF.js";
|
|
5
|
+
import "../../chunks/chunk.W2B6WXUI.js";
|
|
6
6
|
import "../../chunks/chunk.PSQJDSB2.js";
|
|
7
7
|
import "../../chunks/chunk.4KHZQZ3M.js";
|
|
8
8
|
import "../../chunks/chunk.7HUC6BF3.js";
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSAInputMask
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.2QGLZHHF.js";
|
|
4
|
+
import "../../chunks/chunk.THMGZ3JS.js";
|
|
5
5
|
import "../../chunks/chunk.7OLEA3GQ.js";
|
|
6
|
-
import "../../chunks/chunk.
|
|
6
|
+
import "../../chunks/chunk.SF3YU6PZ.js";
|
|
7
7
|
import "../../chunks/chunk.7PPSHHT2.js";
|
|
8
8
|
import "../../chunks/chunk.YY5FKN3H.js";
|
|
9
|
+
import "../../chunks/chunk.PWL7QCVG.js";
|
|
9
10
|
import "../../chunks/chunk.RGTLY6EQ.js";
|
|
10
11
|
import "../../chunks/chunk.5UPL2TW3.js";
|
|
11
12
|
import "../../chunks/chunk.EY4WUNAJ.js";
|
|
12
|
-
import "../../chunks/chunk.
|
|
13
|
+
import "../../chunks/chunk.W2B6WXUI.js";
|
|
13
14
|
import "../../chunks/chunk.3NWILHZZ.js";
|
|
14
15
|
import "../../chunks/chunk.YIY5RM53.js";
|
|
15
|
-
import "../../chunks/chunk.
|
|
16
|
+
import "../../chunks/chunk.LICWCBKN.js";
|
|
16
17
|
import "../../chunks/chunk.CAMVBH5H.js";
|
|
17
|
-
import "../../chunks/chunk.
|
|
18
|
+
import "../../chunks/chunk.D5IL5KN6.js";
|
|
19
|
+
import "../../chunks/chunk.CAYHSQZJ.js";
|
|
18
20
|
import "../../chunks/chunk.23TOS4ZE.js";
|
|
19
21
|
import "../../chunks/chunk.XNEONNEJ.js";
|
|
20
22
|
import "../../chunks/chunk.GNULOP2U.js";
|
|
21
|
-
import "../../chunks/chunk.P45DWAWT.js";
|
|
22
23
|
import "../../chunks/chunk.C2W7WMBY.js";
|
|
23
|
-
import "../../chunks/chunk.
|
|
24
|
+
import "../../chunks/chunk.HJU52GCK.js";
|
|
24
25
|
import "../../chunks/chunk.4FQJ3QJK.js";
|
|
25
26
|
import "../../chunks/chunk.L633QVVV.js";
|
|
26
27
|
import "../../chunks/chunk.B6GVVW66.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
input_mask_styles_default
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.THMGZ3JS.js";
|
|
4
|
+
import "../../chunks/chunk.W2B6WXUI.js";
|
|
5
5
|
import "../../chunks/chunk.PSQJDSB2.js";
|
|
6
6
|
import "../../chunks/chunk.4KHZQZ3M.js";
|
|
7
7
|
import "../../chunks/chunk.7HUC6BF3.js";
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import type { CSSResultGroup } from 'lit';
|
|
2
|
+
import { FormControlLayout } from '../../internal/components/form-control/form-control-layout';
|
|
3
|
+
import type { ShoelaceFormControl } from '../../internal/shoelace-element';
|
|
4
|
+
import '../icon-button/icon-button';
|
|
5
|
+
import '../icon/icon';
|
|
6
|
+
/**
|
|
7
|
+
* @summary The OTP input is used for MFA procedure of authenticating users by a one-time password.
|
|
8
|
+
*
|
|
9
|
+
* @documentation
|
|
10
|
+
*
|
|
11
|
+
* @dependency dsa-error-text
|
|
12
|
+
*
|
|
13
|
+
* @slot label - The input's label. Alternatively, you can use the `label` attribute.
|
|
14
|
+
* @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.
|
|
15
|
+
* @slot tooltip - The tooltip slot allows additional information to be passed along the label.
|
|
16
|
+
*
|
|
17
|
+
* @event dsa-blur - Emitted when the control loses focus.
|
|
18
|
+
* @event dsa-change - Emitted when an alteration to the control's value is committed by the user.
|
|
19
|
+
* @event dsa-focus - Emitted when the control gains focus.
|
|
20
|
+
* @event dsa-input - Emitted when the control receives input.
|
|
21
|
+
* @event dsa-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.
|
|
22
|
+
*/
|
|
23
|
+
export default class DSAInputOTP extends FormControlLayout implements ShoelaceFormControl {
|
|
24
|
+
static styles: CSSResultGroup;
|
|
25
|
+
private readonly formControlController;
|
|
26
|
+
private input;
|
|
27
|
+
private hasFocus;
|
|
28
|
+
private currentIndex;
|
|
29
|
+
private patternRegexp;
|
|
30
|
+
/** The current value of the input, submitted as a name/value pair with form data. */
|
|
31
|
+
value: string;
|
|
32
|
+
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
33
|
+
defaultValue: string;
|
|
34
|
+
/** A regular expression pattern to validate input against. */
|
|
35
|
+
pattern: string;
|
|
36
|
+
/** The length of input that will be considered valid. */
|
|
37
|
+
length: number;
|
|
38
|
+
/** Controls whether and how text input is automatically capitalized as it is entered by the user. */
|
|
39
|
+
autocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
|
40
|
+
/** Indicates that the input should receive focus on page load. */
|
|
41
|
+
autofocus: boolean;
|
|
42
|
+
/** Used to customize the label or icon of the Enter key on virtual keyboards. */
|
|
43
|
+
enterkeyhint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
44
|
+
/**
|
|
45
|
+
* Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual
|
|
46
|
+
* keyboard on supportive devices.
|
|
47
|
+
*/
|
|
48
|
+
inputmode: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
49
|
+
/** Gets the validity state object */
|
|
50
|
+
get validity(): ValidityState;
|
|
51
|
+
/** Gets the validation message */
|
|
52
|
+
get validationMessage(): string;
|
|
53
|
+
firstUpdated(): Promise<void>;
|
|
54
|
+
private handleBlur;
|
|
55
|
+
private handleChange;
|
|
56
|
+
private handleFocus;
|
|
57
|
+
private handleInput;
|
|
58
|
+
private handleSelect;
|
|
59
|
+
private handleInvalid;
|
|
60
|
+
private handleKeyDown;
|
|
61
|
+
private handleSingleFieldClick;
|
|
62
|
+
private getLastIndex;
|
|
63
|
+
private getDescriptionIds;
|
|
64
|
+
handleCurrentIndexChange(): void;
|
|
65
|
+
handleDisabledChange(): void;
|
|
66
|
+
handleValueChange(): Promise<void>;
|
|
67
|
+
handlePatterChange(): void;
|
|
68
|
+
/** Removes focus from the input. */
|
|
69
|
+
blur(): void;
|
|
70
|
+
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
71
|
+
checkValidity(): boolean;
|
|
72
|
+
/** Sets focus on the input. */
|
|
73
|
+
focus(options?: FocusOptions): void;
|
|
74
|
+
/** Gets the associated form, if one exists. */
|
|
75
|
+
getForm(): HTMLFormElement | null;
|
|
76
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
77
|
+
reportValidity(): boolean;
|
|
78
|
+
/** Selects all the text in the input. */
|
|
79
|
+
select(): void;
|
|
80
|
+
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
81
|
+
setCustomValidity(message: string): void;
|
|
82
|
+
getUpdateComplete(): Promise<boolean>;
|
|
83
|
+
private renderSingleField;
|
|
84
|
+
renderInput(): import("lit").TemplateResult<1>;
|
|
85
|
+
}
|
|
86
|
+
declare global {
|
|
87
|
+
interface HTMLElementTagNameMap {
|
|
88
|
+
'dsa-input-otp': DSAInputOTP;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DSAInputOTP
|
|
3
|
+
} from "../../chunks/chunk.2T2ABKP4.js";
|
|
4
|
+
import "../../chunks/chunk.ZTXQFGQX.js";
|
|
5
|
+
import "../../chunks/chunk.SF3YU6PZ.js";
|
|
6
|
+
import "../../chunks/chunk.7PPSHHT2.js";
|
|
7
|
+
import "../../chunks/chunk.YY5FKN3H.js";
|
|
8
|
+
import "../../chunks/chunk.PWL7QCVG.js";
|
|
9
|
+
import "../../chunks/chunk.RGTLY6EQ.js";
|
|
10
|
+
import "../../chunks/chunk.5UPL2TW3.js";
|
|
11
|
+
import "../../chunks/chunk.EY4WUNAJ.js";
|
|
12
|
+
import "../../chunks/chunk.W2B6WXUI.js";
|
|
13
|
+
import "../../chunks/chunk.3NWILHZZ.js";
|
|
14
|
+
import "../../chunks/chunk.YIY5RM53.js";
|
|
15
|
+
import "../../chunks/chunk.GFKXMARC.js";
|
|
16
|
+
import "../../chunks/chunk.HAONBKG7.js";
|
|
17
|
+
import "../../chunks/chunk.VIVOXZF6.js";
|
|
18
|
+
import "../../chunks/chunk.D5IL5KN6.js";
|
|
19
|
+
import "../../chunks/chunk.CAYHSQZJ.js";
|
|
20
|
+
import "../../chunks/chunk.23TOS4ZE.js";
|
|
21
|
+
import "../../chunks/chunk.XNEONNEJ.js";
|
|
22
|
+
import "../../chunks/chunk.GNULOP2U.js";
|
|
23
|
+
import "../../chunks/chunk.C2W7WMBY.js";
|
|
24
|
+
import "../../chunks/chunk.HJU52GCK.js";
|
|
25
|
+
import "../../chunks/chunk.4FQJ3QJK.js";
|
|
26
|
+
import "../../chunks/chunk.L633QVVV.js";
|
|
27
|
+
import "../../chunks/chunk.B6GVVW66.js";
|
|
28
|
+
import "../../chunks/chunk.YQLIIKLI.js";
|
|
29
|
+
import "../../chunks/chunk.IKHG7XGO.js";
|
|
30
|
+
import "../../chunks/chunk.3VUJFXU2.js";
|
|
31
|
+
import "../../chunks/chunk.DZB6XUZ7.js";
|
|
32
|
+
import "../../chunks/chunk.PSQJDSB2.js";
|
|
33
|
+
import "../../chunks/chunk.4KHZQZ3M.js";
|
|
34
|
+
import "../../chunks/chunk.7HUC6BF3.js";
|
|
35
|
+
import "../../chunks/chunk.4ZGVANML.js";
|
|
36
|
+
export {
|
|
37
|
+
DSAInputOTP as default
|
|
38
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
input_otp_styles_default
|
|
3
|
+
} from "../../chunks/chunk.ZTXQFGQX.js";
|
|
4
|
+
import "../../chunks/chunk.W2B6WXUI.js";
|
|
5
|
+
import "../../chunks/chunk.PSQJDSB2.js";
|
|
6
|
+
import "../../chunks/chunk.4KHZQZ3M.js";
|
|
7
|
+
import "../../chunks/chunk.7HUC6BF3.js";
|
|
8
|
+
import "../../chunks/chunk.4ZGVANML.js";
|
|
9
|
+
export {
|
|
10
|
+
input_otp_styles_default as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
REGEXP_ONLY_DIGITS,
|
|
3
|
+
REGEXP_ONLY_DIGITS_AND_LETTERS,
|
|
4
|
+
REGEXP_ONLY_LETTERS
|
|
5
|
+
} from "../../chunks/chunk.F7NUIVDV.js";
|
|
6
|
+
import "../../chunks/chunk.4ZGVANML.js";
|
|
7
|
+
export {
|
|
8
|
+
REGEXP_ONLY_DIGITS,
|
|
9
|
+
REGEXP_ONLY_DIGITS_AND_LETTERS,
|
|
10
|
+
REGEXP_ONLY_LETTERS
|
|
11
|
+
};
|
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSAInputPhone
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
5
|
-
import "../../chunks/chunk.
|
|
6
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.ERQYJQKU.js";
|
|
4
|
+
import "../../chunks/chunk.WE7BT7PI.js";
|
|
5
|
+
import "../../chunks/chunk.JXHXRRPX.js";
|
|
6
|
+
import "../../chunks/chunk.65HTBW2L.js";
|
|
7
|
+
import "../../chunks/chunk.WY2HI4TL.js";
|
|
7
8
|
import "../../chunks/chunk.RJXLIOW7.js";
|
|
8
9
|
import "../../chunks/chunk.7OLEA3GQ.js";
|
|
9
|
-
import "../../chunks/chunk.
|
|
10
|
-
import "../../chunks/chunk.5BF76EO7.js";
|
|
10
|
+
import "../../chunks/chunk.YA7ZX7VM.js";
|
|
11
11
|
import "../../chunks/chunk.CUCCBQJX.js";
|
|
12
|
-
import "../../chunks/chunk.
|
|
13
|
-
import "../../chunks/chunk.6B5RR3IS.js";
|
|
14
|
-
import "../../chunks/chunk.RJROYRRA.js";
|
|
12
|
+
import "../../chunks/chunk.RXUJBLKT.js";
|
|
15
13
|
import "../../chunks/chunk.MOWF7MA3.js";
|
|
16
|
-
import "../../chunks/chunk.
|
|
14
|
+
import "../../chunks/chunk.SF3YU6PZ.js";
|
|
17
15
|
import "../../chunks/chunk.I4EWJGZZ.js";
|
|
18
16
|
import "../../chunks/chunk.IEQULSYY.js";
|
|
19
17
|
import "../../chunks/chunk.EMIT7S33.js";
|
|
20
18
|
import "../../chunks/chunk.7PPSHHT2.js";
|
|
21
19
|
import "../../chunks/chunk.YY5FKN3H.js";
|
|
20
|
+
import "../../chunks/chunk.SCHNZ3XK.js";
|
|
21
|
+
import "../../chunks/chunk.6B5RR3IS.js";
|
|
22
|
+
import "../../chunks/chunk.PWL7QCVG.js";
|
|
22
23
|
import "../../chunks/chunk.RGTLY6EQ.js";
|
|
23
24
|
import "../../chunks/chunk.5UPL2TW3.js";
|
|
24
25
|
import "../../chunks/chunk.EY4WUNAJ.js";
|
|
25
|
-
import "../../chunks/chunk.
|
|
26
|
+
import "../../chunks/chunk.W2B6WXUI.js";
|
|
26
27
|
import "../../chunks/chunk.3NWILHZZ.js";
|
|
27
28
|
import "../../chunks/chunk.YIY5RM53.js";
|
|
28
29
|
import "../../chunks/chunk.GFKXMARC.js";
|
|
@@ -31,15 +32,15 @@ import "../../chunks/chunk.VIVOXZF6.js";
|
|
|
31
32
|
import "../../chunks/chunk.B4BZKR24.js";
|
|
32
33
|
import "../../chunks/chunk.UBKKXGSV.js";
|
|
33
34
|
import "../../chunks/chunk.2WRFDMKN.js";
|
|
34
|
-
import "../../chunks/chunk.
|
|
35
|
+
import "../../chunks/chunk.LICWCBKN.js";
|
|
35
36
|
import "../../chunks/chunk.CAMVBH5H.js";
|
|
36
|
-
import "../../chunks/chunk.
|
|
37
|
+
import "../../chunks/chunk.D5IL5KN6.js";
|
|
38
|
+
import "../../chunks/chunk.CAYHSQZJ.js";
|
|
37
39
|
import "../../chunks/chunk.23TOS4ZE.js";
|
|
38
40
|
import "../../chunks/chunk.XNEONNEJ.js";
|
|
39
41
|
import "../../chunks/chunk.GNULOP2U.js";
|
|
40
|
-
import "../../chunks/chunk.P45DWAWT.js";
|
|
41
42
|
import "../../chunks/chunk.C2W7WMBY.js";
|
|
42
|
-
import "../../chunks/chunk.
|
|
43
|
+
import "../../chunks/chunk.HJU52GCK.js";
|
|
43
44
|
import "../../chunks/chunk.4FQJ3QJK.js";
|
|
44
45
|
import "../../chunks/chunk.L633QVVV.js";
|
|
45
46
|
import "../../chunks/chunk.B6GVVW66.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
input_phone_styles_default
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.WY2HI4TL.js";
|
|
4
|
+
import "../../chunks/chunk.W2B6WXUI.js";
|
|
5
5
|
import "../../chunks/chunk.PSQJDSB2.js";
|
|
6
6
|
import "../../chunks/chunk.4KHZQZ3M.js";
|
|
7
7
|
import "../../chunks/chunk.7HUC6BF3.js";
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import type { CSSResultGroup } from 'lit';
|
|
2
|
+
import { FormControlLayout } from '../../internal/components/form-control/form-control-layout';
|
|
3
|
+
import type { ShoelaceFormControl } from '../../internal/shoelace-element';
|
|
4
|
+
import '../icon-button/icon-button';
|
|
5
|
+
import type DSAIconButton from '../icon-button/icon-button';
|
|
6
|
+
import '../popup/popup';
|
|
7
|
+
import type DSAPopup from '../popup/popup';
|
|
8
|
+
import '../visually-hidden/visually-hidden';
|
|
9
|
+
/**
|
|
10
|
+
* @summary (Internal) Inputs time collect time data from the user.
|
|
11
|
+
*
|
|
12
|
+
* @dependency dsa-icon-button
|
|
13
|
+
* @dependency dsa-error-text
|
|
14
|
+
*
|
|
15
|
+
* @slot label - The input's label. Alternatively, you can use the `label` attribute.
|
|
16
|
+
* @slot prefix - Used to prepend a presentational icon or similar element to the input.
|
|
17
|
+
* @slot suffix - Used to postpend a presentational icon or similar element to the input.
|
|
18
|
+
* @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.
|
|
19
|
+
* @slot tooltip - The tooltip slot allows additional information to be passed along the label.
|
|
20
|
+
*
|
|
21
|
+
* @event dsa-blur - Emitted when the control loses focus.
|
|
22
|
+
* @event dsa-change - Emitted when an alteration to the control's value is committed by the user.
|
|
23
|
+
* @event dsa-clear - Emitted when the clear button is activated.
|
|
24
|
+
* @event dsa-focus - Emitted when the control gains focus.
|
|
25
|
+
* @event dsa-input - Emitted when the control receives input.
|
|
26
|
+
* @event dsa-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.
|
|
27
|
+
* @event dsa-show - Emitted when the picker opens.
|
|
28
|
+
* @event dsa-after-show - Emitted after the picker opens and all animations are complete.
|
|
29
|
+
* @event dsa-hide - Emitted when the picker closes.
|
|
30
|
+
* @event dsa-after-hide - Emitted after the picker closes and all animations are complete.
|
|
31
|
+
|
|
32
|
+
*/
|
|
33
|
+
export default class DSAInputTime extends FormControlLayout implements ShoelaceFormControl {
|
|
34
|
+
static styles: CSSResultGroup;
|
|
35
|
+
private readonly formControlController;
|
|
36
|
+
private readonly localize;
|
|
37
|
+
private nativeInput;
|
|
38
|
+
timePickerButton: DSAIconButton;
|
|
39
|
+
popup: DSAPopup;
|
|
40
|
+
private isTimePickerOpen;
|
|
41
|
+
private hasFocus;
|
|
42
|
+
/** The current value of the input, submitted as a name/value pair with form data. */
|
|
43
|
+
value: string;
|
|
44
|
+
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
45
|
+
defaultValue: string;
|
|
46
|
+
/** Adds a clear button when the input is not empty. */
|
|
47
|
+
clearable: boolean;
|
|
48
|
+
/** The input's minimum value. */
|
|
49
|
+
min: string;
|
|
50
|
+
/** The input's maximum value. */
|
|
51
|
+
max: string;
|
|
52
|
+
/**
|
|
53
|
+
* Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is
|
|
54
|
+
* implied, allowing any numeric value.
|
|
55
|
+
*/
|
|
56
|
+
step: number | 'any';
|
|
57
|
+
/**
|
|
58
|
+
* Specifies what permission the browser has to provide assistance in filling out form field values. Refer to
|
|
59
|
+
* [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.
|
|
60
|
+
*/
|
|
61
|
+
autocomplete: string;
|
|
62
|
+
/** Indicates that the input should receive focus on page load. */
|
|
63
|
+
autofocus: boolean;
|
|
64
|
+
/** Used to customize the label or icon of the Enter key on virtual keyboards. */
|
|
65
|
+
enterkeyhint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
66
|
+
/** Gets the validity state object */
|
|
67
|
+
get validity(): ValidityState;
|
|
68
|
+
/** Gets the validation message */
|
|
69
|
+
get validationMessage(): string;
|
|
70
|
+
connectedCallback(): void;
|
|
71
|
+
firstUpdated(): Promise<void>;
|
|
72
|
+
private addOpenListeners;
|
|
73
|
+
private removeOpenListeners;
|
|
74
|
+
private handleDocumentFocusIn;
|
|
75
|
+
private handleDocumentMouseDown;
|
|
76
|
+
private handleDocumentKeyDown;
|
|
77
|
+
private handleInputBlur;
|
|
78
|
+
private handleInputChange;
|
|
79
|
+
private handleInputClearClick;
|
|
80
|
+
private handleInputFocus;
|
|
81
|
+
private handleInputInput;
|
|
82
|
+
private handleInputInvalid;
|
|
83
|
+
private handleInputKeyDown;
|
|
84
|
+
private getDescriptionIds;
|
|
85
|
+
handleDisabledChange(): void;
|
|
86
|
+
handleStepChange(): void;
|
|
87
|
+
handleValueChange(): Promise<void>;
|
|
88
|
+
handleOpenChange(): Promise<void>;
|
|
89
|
+
/** Sets focus on the input. */
|
|
90
|
+
focus(options?: FocusOptions): void;
|
|
91
|
+
/** Removes focus from the input. */
|
|
92
|
+
blur(): void;
|
|
93
|
+
/** Selects all the text in the input. */
|
|
94
|
+
select(): void;
|
|
95
|
+
/** Shows or hides the time picker */
|
|
96
|
+
private toggleTimePicker;
|
|
97
|
+
/** Displays the time picker for an input element. */
|
|
98
|
+
showTimePicker(): Promise<void>;
|
|
99
|
+
/** Hides the time picker */
|
|
100
|
+
hideTimePicker(): Promise<void>;
|
|
101
|
+
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
102
|
+
checkValidity(): boolean;
|
|
103
|
+
/** Gets the associated form, if one exists. */
|
|
104
|
+
getForm(): HTMLFormElement | null;
|
|
105
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
106
|
+
reportValidity(): boolean;
|
|
107
|
+
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
108
|
+
setCustomValidity(message: string): void;
|
|
109
|
+
private scrollSelectedTimeUnitsIntoView;
|
|
110
|
+
private selectTimeUnit;
|
|
111
|
+
private handlePanelKeydown;
|
|
112
|
+
private handlePanelClick;
|
|
113
|
+
private generateTimeUnitArrays;
|
|
114
|
+
private generateTimeUnitList;
|
|
115
|
+
renderInput(): import("lit").TemplateResult<1>;
|
|
116
|
+
}
|
|
117
|
+
declare global {
|
|
118
|
+
interface HTMLElementTagNameMap {
|
|
119
|
+
'dsa-input-time': DSAInputTime;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DSAInputTime
|
|
3
|
+
} from "../../chunks/chunk.PQYUBPRU.js";
|
|
4
|
+
import "../../chunks/chunk.IONY2GZF.js";
|
|
5
|
+
import "../../chunks/chunk.ITHTXYNC.js";
|
|
6
|
+
import "../../chunks/chunk.T56ZOKTF.js";
|
|
7
|
+
import "../../chunks/chunk.SF3YU6PZ.js";
|
|
8
|
+
import "../../chunks/chunk.I4EWJGZZ.js";
|
|
9
|
+
import "../../chunks/chunk.IEQULSYY.js";
|
|
10
|
+
import "../../chunks/chunk.EMIT7S33.js";
|
|
11
|
+
import "../../chunks/chunk.7PPSHHT2.js";
|
|
12
|
+
import "../../chunks/chunk.YY5FKN3H.js";
|
|
13
|
+
import "../../chunks/chunk.SCHNZ3XK.js";
|
|
14
|
+
import "../../chunks/chunk.6B5RR3IS.js";
|
|
15
|
+
import "../../chunks/chunk.PWL7QCVG.js";
|
|
16
|
+
import "../../chunks/chunk.RGTLY6EQ.js";
|
|
17
|
+
import "../../chunks/chunk.5UPL2TW3.js";
|
|
18
|
+
import "../../chunks/chunk.EY4WUNAJ.js";
|
|
19
|
+
import "../../chunks/chunk.W2B6WXUI.js";
|
|
20
|
+
import "../../chunks/chunk.3NWILHZZ.js";
|
|
21
|
+
import "../../chunks/chunk.YIY5RM53.js";
|
|
22
|
+
import "../../chunks/chunk.GFKXMARC.js";
|
|
23
|
+
import "../../chunks/chunk.HAONBKG7.js";
|
|
24
|
+
import "../../chunks/chunk.VIVOXZF6.js";
|
|
25
|
+
import "../../chunks/chunk.B4BZKR24.js";
|
|
26
|
+
import "../../chunks/chunk.UBKKXGSV.js";
|
|
27
|
+
import "../../chunks/chunk.2WRFDMKN.js";
|
|
28
|
+
import "../../chunks/chunk.LICWCBKN.js";
|
|
29
|
+
import "../../chunks/chunk.CAMVBH5H.js";
|
|
30
|
+
import "../../chunks/chunk.D5IL5KN6.js";
|
|
31
|
+
import "../../chunks/chunk.CAYHSQZJ.js";
|
|
32
|
+
import "../../chunks/chunk.23TOS4ZE.js";
|
|
33
|
+
import "../../chunks/chunk.XNEONNEJ.js";
|
|
34
|
+
import "../../chunks/chunk.GNULOP2U.js";
|
|
35
|
+
import "../../chunks/chunk.C2W7WMBY.js";
|
|
36
|
+
import "../../chunks/chunk.HJU52GCK.js";
|
|
37
|
+
import "../../chunks/chunk.4FQJ3QJK.js";
|
|
38
|
+
import "../../chunks/chunk.L633QVVV.js";
|
|
39
|
+
import "../../chunks/chunk.B6GVVW66.js";
|
|
40
|
+
import "../../chunks/chunk.YQLIIKLI.js";
|
|
41
|
+
import "../../chunks/chunk.IKHG7XGO.js";
|
|
42
|
+
import "../../chunks/chunk.3VUJFXU2.js";
|
|
43
|
+
import "../../chunks/chunk.DZB6XUZ7.js";
|
|
44
|
+
import "../../chunks/chunk.PSQJDSB2.js";
|
|
45
|
+
import "../../chunks/chunk.4KHZQZ3M.js";
|
|
46
|
+
import "../../chunks/chunk.7HUC6BF3.js";
|
|
47
|
+
import "../../chunks/chunk.4ZGVANML.js";
|
|
48
|
+
export {
|
|
49
|
+
DSAInputTime as default
|
|
50
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
input_time_styles_default
|
|
3
|
+
} from "../../chunks/chunk.ITHTXYNC.js";
|
|
4
|
+
import "../../chunks/chunk.T56ZOKTF.js";
|
|
5
|
+
import "../../chunks/chunk.W2B6WXUI.js";
|
|
6
|
+
import "../../chunks/chunk.PSQJDSB2.js";
|
|
7
|
+
import "../../chunks/chunk.4KHZQZ3M.js";
|
|
8
|
+
import "../../chunks/chunk.7HUC6BF3.js";
|
|
9
|
+
import "../../chunks/chunk.4ZGVANML.js";
|
|
10
|
+
export {
|
|
11
|
+
input_time_styles_default as default
|
|
12
|
+
};
|