@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,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
file_upload_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.B2KV6DSI.js";
|
|
4
4
|
import {
|
|
5
5
|
renderFormElementErrors
|
|
6
6
|
} from "./chunk.IZBHR7GP.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.YIY5RM53.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.U7ZMMMJ3.js";
|
|
13
13
|
import {
|
|
14
14
|
watch
|
|
15
15
|
} from "./chunk.NOMN6DGD.js";
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import {
|
|
2
|
+
switch_styles_default
|
|
3
|
+
} from "./chunk.VKIBAACD.js";
|
|
4
|
+
import {
|
|
5
|
+
defaultValue
|
|
6
|
+
} from "./chunk.CMJ2SRTL.js";
|
|
7
|
+
import {
|
|
8
|
+
form_control_styles_default
|
|
9
|
+
} from "./chunk.EIZK62ST.js";
|
|
10
|
+
import {
|
|
11
|
+
FormControlController
|
|
12
|
+
} from "./chunk.JA7YFGLI.js";
|
|
13
|
+
import {
|
|
14
|
+
LocalizeController
|
|
15
|
+
} from "./chunk.U7ZMMMJ3.js";
|
|
16
|
+
import {
|
|
17
|
+
watch
|
|
18
|
+
} from "./chunk.NOMN6DGD.js";
|
|
19
|
+
import {
|
|
20
|
+
ShoelaceElement
|
|
21
|
+
} from "./chunk.XZ5FE34T.js";
|
|
22
|
+
import {
|
|
23
|
+
component_styles_default
|
|
24
|
+
} from "./chunk.TUVJKY7S.js";
|
|
25
|
+
import {
|
|
26
|
+
__decorateClass
|
|
27
|
+
} from "./chunk.S3NI7NKU.js";
|
|
28
|
+
|
|
29
|
+
// src/components/switch/switch.ts
|
|
30
|
+
import { html } from "lit";
|
|
31
|
+
import { customElement, property, query, state } from "lit/decorators.js";
|
|
32
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
33
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
34
|
+
import { live } from "lit/directives/live.js";
|
|
35
|
+
var DSASwitch = class extends ShoelaceElement {
|
|
36
|
+
constructor() {
|
|
37
|
+
super(...arguments);
|
|
38
|
+
this.formControlController = new FormControlController(this, {
|
|
39
|
+
value: (control) => control.checked ? control.value || "on" : void 0,
|
|
40
|
+
defaultValue: (control) => control.defaultChecked,
|
|
41
|
+
setValue: (control, checked) => control.checked = checked
|
|
42
|
+
});
|
|
43
|
+
this.localize = new LocalizeController(this);
|
|
44
|
+
this.hasFocus = false;
|
|
45
|
+
this.name = "";
|
|
46
|
+
this.size = "medium";
|
|
47
|
+
this.disabled = false;
|
|
48
|
+
this.readonly = false;
|
|
49
|
+
this.checked = false;
|
|
50
|
+
this.defaultChecked = false;
|
|
51
|
+
this.form = "";
|
|
52
|
+
this.required = false;
|
|
53
|
+
this.onLabel = this.localize.term("switchOn");
|
|
54
|
+
this.offLabel = this.localize.term("switchOff");
|
|
55
|
+
}
|
|
56
|
+
/** Gets the validity state object */
|
|
57
|
+
get validity() {
|
|
58
|
+
return this.input.validity;
|
|
59
|
+
}
|
|
60
|
+
/** Gets the validation message */
|
|
61
|
+
get validationMessage() {
|
|
62
|
+
return this.input.validationMessage;
|
|
63
|
+
}
|
|
64
|
+
firstUpdated() {
|
|
65
|
+
this.formControlController.updateValidity();
|
|
66
|
+
}
|
|
67
|
+
handleBlur() {
|
|
68
|
+
this.hasFocus = false;
|
|
69
|
+
this.emit("dsa-blur");
|
|
70
|
+
}
|
|
71
|
+
handleInput() {
|
|
72
|
+
this.emit("dsa-input");
|
|
73
|
+
}
|
|
74
|
+
handleInvalid(event) {
|
|
75
|
+
this.formControlController.setValidity(false);
|
|
76
|
+
this.formControlController.emitInvalidEvent(event);
|
|
77
|
+
}
|
|
78
|
+
handleClick() {
|
|
79
|
+
if (this.readonly) {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
this.checked = !this.checked;
|
|
83
|
+
this.emit("dsa-change");
|
|
84
|
+
}
|
|
85
|
+
handleFocus() {
|
|
86
|
+
this.hasFocus = true;
|
|
87
|
+
this.emit("dsa-focus");
|
|
88
|
+
}
|
|
89
|
+
handleKeyDown(event) {
|
|
90
|
+
if (this.readonly) {
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
if (event.key === "Enter") {
|
|
94
|
+
event.preventDefault();
|
|
95
|
+
this.checked = !this.checked;
|
|
96
|
+
this.emit("dsa-change");
|
|
97
|
+
this.emit("dsa-input");
|
|
98
|
+
}
|
|
99
|
+
if (event.key === "ArrowLeft") {
|
|
100
|
+
event.preventDefault();
|
|
101
|
+
this.checked = false;
|
|
102
|
+
this.emit("dsa-change");
|
|
103
|
+
this.emit("dsa-input");
|
|
104
|
+
}
|
|
105
|
+
if (event.key === "ArrowRight") {
|
|
106
|
+
event.preventDefault();
|
|
107
|
+
this.checked = true;
|
|
108
|
+
this.emit("dsa-change");
|
|
109
|
+
this.emit("dsa-input");
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
handleCheckedChange() {
|
|
113
|
+
this.input.checked = this.checked;
|
|
114
|
+
this.formControlController.updateValidity();
|
|
115
|
+
}
|
|
116
|
+
handleDisabledChange() {
|
|
117
|
+
this.formControlController.setValidity(true);
|
|
118
|
+
}
|
|
119
|
+
/** Simulates a click on the switch. */
|
|
120
|
+
click() {
|
|
121
|
+
this.input.click();
|
|
122
|
+
}
|
|
123
|
+
/** Sets focus on the switch. */
|
|
124
|
+
focus(options) {
|
|
125
|
+
this.input.focus(options);
|
|
126
|
+
}
|
|
127
|
+
/** Removes focus from the switch. */
|
|
128
|
+
blur() {
|
|
129
|
+
this.input.blur();
|
|
130
|
+
}
|
|
131
|
+
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
132
|
+
checkValidity() {
|
|
133
|
+
return this.input.checkValidity();
|
|
134
|
+
}
|
|
135
|
+
/** Gets the associated form, if one exists. */
|
|
136
|
+
getForm() {
|
|
137
|
+
return this.formControlController.getForm();
|
|
138
|
+
}
|
|
139
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
140
|
+
reportValidity() {
|
|
141
|
+
return this.input.reportValidity();
|
|
142
|
+
}
|
|
143
|
+
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
144
|
+
setCustomValidity(message) {
|
|
145
|
+
this.input.setCustomValidity(message);
|
|
146
|
+
this.formControlController.updateValidity();
|
|
147
|
+
}
|
|
148
|
+
render() {
|
|
149
|
+
return html`
|
|
150
|
+
<div
|
|
151
|
+
class=${classMap({
|
|
152
|
+
"form-control": true,
|
|
153
|
+
"form-control--small": this.size === "small",
|
|
154
|
+
"form-control--medium": this.size === "medium",
|
|
155
|
+
"form-control--large": this.size === "large"
|
|
156
|
+
})}
|
|
157
|
+
>
|
|
158
|
+
<label
|
|
159
|
+
part="base"
|
|
160
|
+
class=${classMap({
|
|
161
|
+
switch: true,
|
|
162
|
+
"switch--checked": this.checked,
|
|
163
|
+
"switch--disabled": this.disabled,
|
|
164
|
+
"switch--readonly": this.readonly,
|
|
165
|
+
"switch--focused": this.hasFocus,
|
|
166
|
+
"switch--small": this.size === "small",
|
|
167
|
+
"switch--medium": this.size === "medium",
|
|
168
|
+
"switch--large": this.size === "large"
|
|
169
|
+
})}
|
|
170
|
+
>
|
|
171
|
+
<div part="label" class="switch__label">
|
|
172
|
+
${this.required ? html`<span class="switch__label-required">*</span>` : ""}
|
|
173
|
+
<slot></slot>
|
|
174
|
+
</div>
|
|
175
|
+
|
|
176
|
+
<div class="switch__indicator">
|
|
177
|
+
<input
|
|
178
|
+
class="switch__input"
|
|
179
|
+
type="checkbox"
|
|
180
|
+
name=${this.name}
|
|
181
|
+
value=${ifDefined(this.value)}
|
|
182
|
+
.checked=${live(this.checked)}
|
|
183
|
+
.disabled=${this.disabled}
|
|
184
|
+
.required=${this.required}
|
|
185
|
+
role="switch"
|
|
186
|
+
aria-checked=${this.checked ? "true" : "false"}
|
|
187
|
+
aria-disabled=${ifDefined(
|
|
188
|
+
this.disabled || this.readonly ? "true" : void 0
|
|
189
|
+
)}
|
|
190
|
+
@click=${this.handleClick}
|
|
191
|
+
@input=${this.handleInput}
|
|
192
|
+
@invalid=${this.handleInvalid}
|
|
193
|
+
@blur=${this.handleBlur}
|
|
194
|
+
@focus=${this.handleFocus}
|
|
195
|
+
@keydown=${this.handleKeyDown}
|
|
196
|
+
/>
|
|
197
|
+
|
|
198
|
+
<span part="control" class="switch__control">
|
|
199
|
+
<span part="thumb" class="switch__thumb">
|
|
200
|
+
<dsa-icon
|
|
201
|
+
class="switch__checked-icon"
|
|
202
|
+
name="done"
|
|
203
|
+
library="system"
|
|
204
|
+
></dsa-icon>
|
|
205
|
+
</span>
|
|
206
|
+
</span>
|
|
207
|
+
|
|
208
|
+
<div class="switch__state" aria-hidden="true">
|
|
209
|
+
<span class="switch__state-placeholder">${this.onLabel}</span>
|
|
210
|
+
<span class="switch__state-placeholder">${this.offLabel}</span>
|
|
211
|
+
${this.checked ? this.onLabel : this.offLabel}
|
|
212
|
+
</div>
|
|
213
|
+
</div>
|
|
214
|
+
</label>
|
|
215
|
+
</div>
|
|
216
|
+
`;
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
DSASwitch.styles = [component_styles_default, form_control_styles_default, switch_styles_default];
|
|
220
|
+
__decorateClass([
|
|
221
|
+
query('input[type="checkbox"]')
|
|
222
|
+
], DSASwitch.prototype, "input", 2);
|
|
223
|
+
__decorateClass([
|
|
224
|
+
state()
|
|
225
|
+
], DSASwitch.prototype, "hasFocus", 2);
|
|
226
|
+
__decorateClass([
|
|
227
|
+
property()
|
|
228
|
+
], DSASwitch.prototype, "name", 2);
|
|
229
|
+
__decorateClass([
|
|
230
|
+
property()
|
|
231
|
+
], DSASwitch.prototype, "value", 2);
|
|
232
|
+
__decorateClass([
|
|
233
|
+
property({ reflect: true })
|
|
234
|
+
], DSASwitch.prototype, "size", 2);
|
|
235
|
+
__decorateClass([
|
|
236
|
+
property({ type: Boolean, reflect: true })
|
|
237
|
+
], DSASwitch.prototype, "disabled", 2);
|
|
238
|
+
__decorateClass([
|
|
239
|
+
property({ type: Boolean, reflect: true })
|
|
240
|
+
], DSASwitch.prototype, "readonly", 2);
|
|
241
|
+
__decorateClass([
|
|
242
|
+
property({ type: Boolean, reflect: true })
|
|
243
|
+
], DSASwitch.prototype, "checked", 2);
|
|
244
|
+
__decorateClass([
|
|
245
|
+
defaultValue("checked")
|
|
246
|
+
], DSASwitch.prototype, "defaultChecked", 2);
|
|
247
|
+
__decorateClass([
|
|
248
|
+
property({ reflect: true })
|
|
249
|
+
], DSASwitch.prototype, "form", 2);
|
|
250
|
+
__decorateClass([
|
|
251
|
+
property({ type: Boolean, reflect: true })
|
|
252
|
+
], DSASwitch.prototype, "required", 2);
|
|
253
|
+
__decorateClass([
|
|
254
|
+
property({ attribute: "on-label" })
|
|
255
|
+
], DSASwitch.prototype, "onLabel", 2);
|
|
256
|
+
__decorateClass([
|
|
257
|
+
property({ attribute: "off-label" })
|
|
258
|
+
], DSASwitch.prototype, "offLabel", 2);
|
|
259
|
+
__decorateClass([
|
|
260
|
+
watch("checked", { waitUntilFirstUpdate: true })
|
|
261
|
+
], DSASwitch.prototype, "handleCheckedChange", 1);
|
|
262
|
+
__decorateClass([
|
|
263
|
+
watch("disabled", { waitUntilFirstUpdate: true })
|
|
264
|
+
], DSASwitch.prototype, "handleDisabledChange", 1);
|
|
265
|
+
DSASwitch = __decorateClass([
|
|
266
|
+
customElement("dsa-switch")
|
|
267
|
+
], DSASwitch);
|
|
268
|
+
|
|
269
|
+
export {
|
|
270
|
+
DSASwitch
|
|
271
|
+
};
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./chunk.JSNVYESF.js";
|
|
5
5
|
import {
|
|
6
6
|
header_styles_default
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.6SDBUBGE.js";
|
|
8
8
|
import {
|
|
9
9
|
HasSlotController
|
|
10
10
|
} from "./chunk.YIY5RM53.js";
|
|
11
11
|
import {
|
|
12
12
|
LocalizeController
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.U7ZMMMJ3.js";
|
|
14
14
|
import {
|
|
15
15
|
watch
|
|
16
16
|
} from "./chunk.NOMN6DGD.js";
|
|
@@ -32,11 +32,27 @@ var form_control_styles_default = css`
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.form-control .form-control__options {
|
|
35
|
-
display: flex;
|
|
35
|
+
display: inline-flex;
|
|
36
36
|
flex-direction: column;
|
|
37
37
|
gap: var(--dsa-wc-toggle-group-spacing);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
.form-control.form-control--has-buttons .form-control__options,
|
|
41
|
+
.form-control.form-control--has-cards .form-control__options {
|
|
42
|
+
gap: var(--dsa-spacing-8);
|
|
43
|
+
}
|
|
44
|
+
.form-control:not(.form-control--options-horizontal).form-control--has-buttons
|
|
45
|
+
.form-control__options {
|
|
46
|
+
min-width: 120px;
|
|
47
|
+
max-width: 400px;
|
|
48
|
+
}
|
|
49
|
+
.form-control:not(.form-control--options-horizontal).form-control--has-cards
|
|
50
|
+
.form-control__options {
|
|
51
|
+
display: flex;
|
|
52
|
+
min-width: 204px;
|
|
53
|
+
max-width: 660px;
|
|
54
|
+
}
|
|
55
|
+
|
|
40
56
|
.form-control--options-horizontal .form-control__options {
|
|
41
57
|
flex-direction: row;
|
|
42
58
|
flex-wrap: wrap;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
footer_styles_default
|
|
3
|
-
} from "./chunk.QRCGXHRO.js";
|
|
4
1
|
import {
|
|
5
2
|
footerLogoSvg
|
|
6
3
|
} from "./chunk.6EHBM4N7.js";
|
|
4
|
+
import {
|
|
5
|
+
footer_styles_default
|
|
6
|
+
} from "./chunk.CQR34TNY.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
9
|
} from "./chunk.YIY5RM53.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.U7ZMMMJ3.js";
|
|
13
13
|
import {
|
|
14
14
|
ShoelaceElement
|
|
15
15
|
} from "./chunk.XZ5FE34T.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getIconLibrary,
|
|
3
|
+
unwatchIcon,
|
|
4
|
+
watchIcon
|
|
5
|
+
} from "./chunk.CAYHSQZJ.js";
|
|
1
6
|
import {
|
|
2
7
|
requestIcon
|
|
3
8
|
} from "./chunk.23TOS4ZE.js";
|
|
4
9
|
import {
|
|
5
10
|
icon_styles_default
|
|
6
11
|
} from "./chunk.LMJPQPQT.js";
|
|
7
|
-
import {
|
|
8
|
-
getIconLibrary,
|
|
9
|
-
unwatchIcon,
|
|
10
|
-
watchIcon
|
|
11
|
-
} from "./chunk.P45DWAWT.js";
|
|
12
12
|
import {
|
|
13
13
|
watch
|
|
14
14
|
} from "./chunk.NOMN6DGD.js";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// src/components/input-otp/input-otp.utils.ts
|
|
2
|
+
var REGEXP_ONLY_DIGITS = "^\\d*$";
|
|
3
|
+
var REGEXP_ONLY_LETTERS = "^[a-zA-Z]*$";
|
|
4
|
+
var REGEXP_ONLY_DIGITS_AND_LETTERS = "^[a-zA-Z0-9]*$";
|
|
5
|
+
|
|
6
|
+
export {
|
|
7
|
+
REGEXP_ONLY_DIGITS,
|
|
8
|
+
REGEXP_ONLY_LETTERS,
|
|
9
|
+
REGEXP_ONLY_DIGITS_AND_LETTERS
|
|
10
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import {
|
|
2
|
+
form_control_styles_default
|
|
3
|
+
} from "./chunk.EIZK62ST.js";
|
|
4
|
+
import {
|
|
5
|
+
component_styles_default
|
|
6
|
+
} from "./chunk.TUVJKY7S.js";
|
|
7
|
+
|
|
8
|
+
// src/components/checkbox/checkbox.styles.ts
|
|
9
|
+
import { css } from "lit";
|
|
10
|
+
var checkbox_styles_default = css`
|
|
11
|
+
${component_styles_default}
|
|
12
|
+
${form_control_styles_default}
|
|
13
|
+
:host {
|
|
14
|
+
display: inline-block;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.form-control {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.checkbox {
|
|
23
|
+
position: relative;
|
|
24
|
+
display: inline-flex;
|
|
25
|
+
align-items: flex-start;
|
|
26
|
+
color: var(--dsa-wc-checkbox-color);
|
|
27
|
+
vertical-align: middle;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.checkbox--small {
|
|
32
|
+
--toggle-size: var(--dsa-wc-checkbox-size-small);
|
|
33
|
+
font: var(--dsa-wc-checkbox-font-small);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.checkbox--medium {
|
|
37
|
+
--toggle-size: var(--dsa-wc-checkbox-size);
|
|
38
|
+
font: var(--dsa-wc-checkbox-font);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.checkbox--large {
|
|
42
|
+
--toggle-size: var(--dsa-wc-checkbox-size-large);
|
|
43
|
+
font: var(--dsa-wc-checkbox-font-large);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.checkbox__input {
|
|
47
|
+
position: absolute;
|
|
48
|
+
opacity: 0;
|
|
49
|
+
padding: 0;
|
|
50
|
+
margin: 0;
|
|
51
|
+
pointer-events: none;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* Focus */
|
|
55
|
+
.checkbox
|
|
56
|
+
.checkbox__input:focus-visible
|
|
57
|
+
~ dsa-internal-checkbox-box::part(control) {
|
|
58
|
+
outline: var(--dsa-wc-focus-ring);
|
|
59
|
+
outline-offset: var(--dsa-wc-focus-ring-offset);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.checkbox__label:not(.checkbox--disabled) {
|
|
63
|
+
display: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.checkbox--has-label .checkbox__label:not(.checkbox--disabled) {
|
|
67
|
+
display: inline-block;
|
|
68
|
+
color: var(--dsa-wc-checkbox-color);
|
|
69
|
+
line-height: var(--toggle-size);
|
|
70
|
+
margin-inline-start: 0.5em;
|
|
71
|
+
user-select: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.checkbox__label-required {
|
|
75
|
+
color: var(--dsa-wc-form-required-content-color);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* Disabled */
|
|
79
|
+
.checkbox--disabled {
|
|
80
|
+
cursor: not-allowed;
|
|
81
|
+
}
|
|
82
|
+
.checkbox--disabled:not(.checkbox--readonly) .checkbox__label {
|
|
83
|
+
color: var(--dsa-wc-checkbox-label-color-disabled);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* Error */
|
|
87
|
+
.checkbox--error:not(.checkbox--disabled):not(.checkbox--readonly)
|
|
88
|
+
> .checkbox__label {
|
|
89
|
+
color: var(--dsa-wc-checkbox-label-color-error);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Readonly */
|
|
93
|
+
.checkbox--readonly {
|
|
94
|
+
cursor: not-allowed;
|
|
95
|
+
}
|
|
96
|
+
`;
|
|
97
|
+
|
|
98
|
+
export {
|
|
99
|
+
checkbox_styles_default
|
|
100
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
radio_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.ANOLAL4B.js";
|
|
4
4
|
import {
|
|
5
5
|
watch
|
|
6
6
|
} from "./chunk.NOMN6DGD.js";
|
|
@@ -21,7 +21,9 @@ var DSARadio = class extends ShoelaceElement {
|
|
|
21
21
|
this.checked = false;
|
|
22
22
|
this.hasFocus = false;
|
|
23
23
|
this.size = "medium";
|
|
24
|
+
this.parentDisabled = false;
|
|
24
25
|
this.disabled = false;
|
|
26
|
+
this.parentReadonly = false;
|
|
25
27
|
this.readonly = false;
|
|
26
28
|
this.error = false;
|
|
27
29
|
}
|
|
@@ -30,8 +32,8 @@ var DSARadio = class extends ShoelaceElement {
|
|
|
30
32
|
this.handleBlur = this.handleBlur.bind(this);
|
|
31
33
|
this.handleClick = this.handleClick.bind(this);
|
|
32
34
|
this.handleFocus = this.handleFocus.bind(this);
|
|
33
|
-
this.setInitialAttributes();
|
|
34
35
|
this.addEventListeners();
|
|
36
|
+
this.setAttribute("role", "radio");
|
|
35
37
|
}
|
|
36
38
|
disconnectedCallback() {
|
|
37
39
|
this.removeEventListeners();
|
|
@@ -51,58 +53,50 @@ var DSARadio = class extends ShoelaceElement {
|
|
|
51
53
|
this.emit("dsa-blur");
|
|
52
54
|
}
|
|
53
55
|
handleClick() {
|
|
54
|
-
if (
|
|
55
|
-
|
|
56
|
+
if (this.readonly || this.disabled || this.parentDisabled || this.parentReadonly) {
|
|
57
|
+
return;
|
|
56
58
|
}
|
|
59
|
+
this.checked = true;
|
|
57
60
|
}
|
|
58
61
|
handleFocus() {
|
|
59
62
|
this.hasFocus = true;
|
|
60
63
|
this.emit("dsa-focus");
|
|
61
64
|
}
|
|
62
|
-
setInitialAttributes() {
|
|
63
|
-
this.setAttribute("role", "radio");
|
|
64
|
-
this.setAttribute(
|
|
65
|
-
"aria-disabled",
|
|
66
|
-
this.disabled || this.readonly ? "true" : "false"
|
|
67
|
-
);
|
|
68
|
-
}
|
|
69
65
|
handleCheckedChange() {
|
|
70
66
|
this.setAttribute("aria-checked", this.checked ? "true" : "false");
|
|
71
67
|
}
|
|
72
|
-
|
|
73
|
-
this.
|
|
74
|
-
"aria-disabled",
|
|
75
|
-
|
|
76
|
-
|
|
68
|
+
handleDeactivatedChange() {
|
|
69
|
+
if (this.disabled || this.readonly || this.parentDisabled || this.parentReadonly) {
|
|
70
|
+
this.setAttribute("aria-disabled", "true");
|
|
71
|
+
} else {
|
|
72
|
+
this.removeAttribute("aria-disabled");
|
|
73
|
+
}
|
|
77
74
|
}
|
|
78
75
|
render() {
|
|
76
|
+
const isDisabled = this.disabled || this.parentDisabled;
|
|
77
|
+
const isReadonly = this.readonly || this.parentReadonly;
|
|
79
78
|
return html`
|
|
80
79
|
<span
|
|
81
80
|
part="base"
|
|
82
81
|
class=${classMap({
|
|
83
82
|
radio: true,
|
|
84
83
|
"radio--checked": this.checked,
|
|
85
|
-
"radio--readonly":
|
|
86
|
-
"radio--disabled":
|
|
84
|
+
"radio--readonly": isReadonly,
|
|
85
|
+
"radio--disabled": isDisabled,
|
|
87
86
|
"radio--focused": this.hasFocus,
|
|
88
87
|
"radio--small": this.size === "small",
|
|
89
88
|
"radio--medium": this.size === "medium",
|
|
90
89
|
"radio--large": this.size === "large"
|
|
91
90
|
})}
|
|
92
91
|
>
|
|
93
|
-
<
|
|
94
|
-
|
|
95
|
-
|
|
92
|
+
<dsa-internal-radio-icon
|
|
93
|
+
?checked=${this.checked}
|
|
94
|
+
size=${this.size}
|
|
95
|
+
?disabled=${isDisabled}
|
|
96
|
+
?readonly=${isReadonly}
|
|
97
|
+
?error=${this.error}
|
|
96
98
|
>
|
|
97
|
-
|
|
98
|
-
<dsa-icon
|
|
99
|
-
part="checked-icon"
|
|
100
|
-
class="radio__checked-icon"
|
|
101
|
-
name="circle_filled"
|
|
102
|
-
library="system"
|
|
103
|
-
></dsa-icon>
|
|
104
|
-
` : ""}
|
|
105
|
-
</span>
|
|
99
|
+
</dsa-internal-radio-icon>
|
|
106
100
|
|
|
107
101
|
<slot
|
|
108
102
|
part="label"
|
|
@@ -128,9 +122,15 @@ __decorateClass([
|
|
|
128
122
|
__decorateClass([
|
|
129
123
|
property({ reflect: true })
|
|
130
124
|
], DSARadio.prototype, "size", 2);
|
|
125
|
+
__decorateClass([
|
|
126
|
+
property({ type: Boolean })
|
|
127
|
+
], DSARadio.prototype, "parentDisabled", 2);
|
|
131
128
|
__decorateClass([
|
|
132
129
|
property({ type: Boolean, reflect: true })
|
|
133
130
|
], DSARadio.prototype, "disabled", 2);
|
|
131
|
+
__decorateClass([
|
|
132
|
+
property({ type: Boolean })
|
|
133
|
+
], DSARadio.prototype, "parentReadonly", 2);
|
|
134
134
|
__decorateClass([
|
|
135
135
|
property({ type: Boolean, reflect: true })
|
|
136
136
|
], DSARadio.prototype, "readonly", 2);
|
|
@@ -141,8 +141,8 @@ __decorateClass([
|
|
|
141
141
|
watch("checked")
|
|
142
142
|
], DSARadio.prototype, "handleCheckedChange", 1);
|
|
143
143
|
__decorateClass([
|
|
144
|
-
watch(["disabled", "readonly"])
|
|
145
|
-
], DSARadio.prototype, "
|
|
144
|
+
watch(["disabled", "readonly", "parentDisabled", "parentReadonly"])
|
|
145
|
+
], DSARadio.prototype, "handleDeactivatedChange", 1);
|
|
146
146
|
DSARadio = __decorateClass([
|
|
147
147
|
customElement("dsa-radio")
|
|
148
148
|
], DSARadio);
|