@nldd/design-system 0.28.1 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/custom-elements.json +1909 -684
- package/dist/assets/styles/shadow-resets.d.ts +7 -0
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +17 -0
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- package/dist/assets/styles/text-wrap.d.ts +78 -0
- package/dist/assets/styles/text-wrap.d.ts.map +1 -0
- package/dist/assets/styles/text-wrap.fixtures.d.ts +6 -0
- package/dist/assets/styles/text-wrap.fixtures.d.ts.map +1 -0
- package/dist/assets/styles/text-wrap.fixtures.js +25 -0
- package/dist/assets/styles/text-wrap.fixtures.js.map +1 -0
- package/dist/assets/styles/text-wrap.js +102 -0
- package/dist/assets/styles/text-wrap.js.map +1 -0
- package/dist/cdn/autoloader.js +140 -140
- package/dist/cdn/chunks/{accordion-qNc04J73.js → accordion-BIgPiBgT.js} +5 -4
- package/dist/cdn/chunks/{accordion-item-C6M7whqP.js → accordion-item-YHiK4fhb.js} +15 -14
- package/dist/cdn/chunks/{activity-indicator-NvfhYycS.js → activity-indicator-BiuU--e6.js} +23 -31
- package/dist/cdn/chunks/{admonition-CrFn5dn8.js → admonition-CpxxWW6f.js} +21 -20
- package/dist/cdn/chunks/{avatar-De4nVQAy.js → avatar-DeeEjbzl.js} +46 -45
- package/dist/cdn/chunks/{avatar-group-cS_7WjsC.js → avatar-group-Ey17PhOt.js} +16 -16
- package/dist/cdn/chunks/{badge-BNmnWgNJ.js → badge-B0K1AVec.js} +5 -10
- package/dist/cdn/chunks/{banner-CJ0VfDQl.js → banner-YQpzU7Yz.js} +27 -33
- package/dist/cdn/chunks/{bar-split-view-DJZ_RMrc.js → bar-split-view-DNWrGLv3.js} +7 -7
- package/dist/cdn/chunks/{blockquote-Fbk-Cz-z.js → blockquote-zBgtNbdZ.js} +32 -29
- package/dist/cdn/chunks/{box-DUjTdMwj.js → box-CLEd1Y-1.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-DvQfnS-r.js → breadcrumbs-DCwiSLxQ.js} +44 -51
- package/dist/cdn/chunks/{button-BiZEK2qo.js → button-DpSJe6ns.js} +84 -89
- package/dist/cdn/chunks/{button-bar-BD8YYSya.js → button-bar-Bw46AWOo.js} +3 -3
- package/dist/cdn/chunks/{button-group-BDgwtxiB.js → button-group-Bd5CZm4t.js} +2 -2
- package/dist/cdn/chunks/{card-7YW4G3mN.js → card-xq9jqLek.js} +20 -19
- package/dist/cdn/chunks/{cell-D4rzlHiL.js → cell-CNGu9Srs.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BAXC8LxT.js → checkbox-DJU2ntYs.js} +6 -5
- package/dist/cdn/chunks/{checkbox-field-DokK3uET.js → checkbox-field-36mh4uD-.js} +44 -41
- package/dist/cdn/chunks/{checkbox-group-dYi8Qw-Z.js → checkbox-group-CaoyYQC1.js} +3 -3
- package/dist/cdn/chunks/{class-map-Dk5rXpmX.js → class-map-07EioFee.js} +1 -1
- package/dist/cdn/chunks/{code-editor-Uc5WnSyE.js → code-editor-CqHXUdbC.js} +6 -5
- package/dist/cdn/chunks/{code-viewer-DmaSO8TW.js → code-viewer-ro55V04o.js} +42 -58
- package/dist/cdn/chunks/{codemirror-input-yuu4_CF5.js → codemirror-input-D4u8naKh.js} +5 -5
- package/dist/cdn/chunks/{collection-DRkMikEK.js → collection-DVED8Kff.js} +13 -15
- package/dist/cdn/chunks/{combo-box-BfgDCM9z.js → combo-box-CMdGMQ8q.js} +13 -15
- package/dist/cdn/chunks/{container-Ce02W6bB.js → container-BxfHTSXb.js} +2 -2
- package/dist/cdn/chunks/{custom-element-B7CAmse4.js → custom-element-7tLnKgZE.js} +1 -1
- package/dist/cdn/chunks/{date-field-D0qFC7IW.js → date-field-KrAEvvJg.js} +91 -104
- package/dist/cdn/chunks/{date-picker-DwXIznN6.js → date-picker-CeyTd4Mj.js} +134 -128
- package/dist/cdn/chunks/{decorate-CrwTiRI4.js → decorate-CIC8fGPN.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-Dks9Tazd.js → described-by-mixin-DSeADwWP.js} +2 -2
- package/dist/cdn/chunks/{description-cell-vdXLTWdM.js → description-cell-DDjPf92m.js} +42 -26
- package/dist/cdn/chunks/{dev-checks-C7AQOQdy.js → dev-checks-DE09CTk9.js} +20 -5
- package/dist/cdn/chunks/{directive-helpers-DhYhHq0V.js → directive-helpers-DUlH8eNt.js} +1 -1
- package/dist/cdn/chunks/{dist-BF_HsA1F.js → dist-3XSbEdbz.js} +1 -1
- package/dist/cdn/chunks/{dist-fQWTQex_.js → dist-BV06hHwA.js} +3 -3
- package/dist/cdn/chunks/{dist-CpFmom1e.js → dist-CLyXDlop.js} +1 -1
- package/dist/cdn/chunks/{dist-BO8LBhZ9.js → dist-CanlbdZP.js} +1 -1
- package/dist/cdn/chunks/{dist-Ef-Tq6YF.js → dist-Cku1NQ9X.js} +2 -2
- package/dist/cdn/chunks/{dist-DKwVzsKb.js → dist-DJ_2VKiG.js} +3 -3
- package/dist/cdn/chunks/{dist-DA8xWaRD.js → dist-Dpc1YfbE.js} +1 -1
- package/dist/cdn/chunks/{dist-C3SPGWp1.js → dist-DsE-63gX.js} +1 -1
- package/dist/cdn/chunks/{dist-DsI2zIZX.js → dist-DtpgX9L8.js} +2 -2
- package/dist/cdn/chunks/{dist-BStcClNc.js → dist-DuaPU_hA.js} +2 -2
- package/dist/cdn/chunks/{dist-L5MKtblc.js → dist-lUsXGXhR.js} +1 -1
- package/dist/cdn/chunks/{divider-DtcYfGdC.js → divider-BixGehzs.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-C16nriDX.js → document-tab-bar-BlP7NEb9.js} +57 -65
- package/dist/cdn/chunks/{dropdown-imPdtMWv.js → dropdown-DpCdMFod.js} +12 -11
- package/dist/cdn/chunks/{file-field-KvBiDQDG.js → file-field-CYjsw4xy.js} +127 -133
- package/dist/cdn/chunks/{form-D1EnbYQi.js → form-DDB03czp.js} +1 -1
- package/dist/cdn/chunks/{form-actions-BVb12cWB.js → form-actions-DZgcVawx.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-1aHgl6CN.js → form-associated-mixin-9cC5HSCG.js} +2 -2
- package/dist/cdn/chunks/{form-field-C7IKuhqV.js → form-field-CuTa78j4.js} +62 -57
- package/dist/cdn/chunks/{form-section-C3EY5PYR.js → form-section-J2if8kVt.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-D0Eg6xrZ.js → full-bleed-section-enjghRsm.js} +3 -3
- package/dist/cdn/chunks/{hero-CLt5Cw5O.js → hero-AHBPM3ks.js} +14 -14
- package/dist/cdn/chunks/{icon-Dm2x9BcO.js → icon-C_xeQP4j.js} +2 -2
- package/dist/cdn/chunks/{icon-button-CBEWhco-.js → icon-button-CkNgX7Ra.js} +9 -9
- package/dist/cdn/chunks/{icon-cell-DXxd6Nry.js → icon-cell-qieQ2vyq.js} +26 -27
- package/dist/cdn/chunks/{identity-BeTWWEj8.js → identity-CnYwgyF7.js} +24 -21
- package/dist/cdn/chunks/{if-defined-mF0X0Rdi.js → if-defined-BG5WQE1B.js} +1 -1
- package/dist/cdn/chunks/{image-COSXwiWa.js → image--K2M19ce.js} +57 -57
- package/dist/cdn/chunks/{inline-dialog-DIOgk8bK.js → inline-dialog-CfiC1tbk.js} +26 -20
- package/dist/cdn/chunks/{just-in-time-education-BZNVdvuU.js → just-in-time-education-Dxca2LqF.js} +24 -32
- package/dist/cdn/chunks/{kanban-Cck2OXzv.js → kanban-Dwb93dgS.js} +6 -6
- package/dist/cdn/chunks/{kanban-column--KK3DP8d.js → kanban-column-Br4GovWU.js} +28 -33
- package/dist/cdn/chunks/{keyboard-shortcut-CuyFIf1M.js → keyboard-shortcut-a-CkABX1.js} +68 -73
- package/dist/cdn/chunks/{languages-AgQxW3ST.js → languages-BrBEUYzL.js} +12 -12
- package/dist/cdn/chunks/{layout-pass-Cq85kSHX.js → layout-pass-B2ALRYc9.js} +14 -4
- package/dist/cdn/chunks/{link-Dwx2iVe3.js → link-CROYAF4K.js} +37 -44
- package/dist/cdn/chunks/{link-group-C1W4fywA.js → link-group-pbOW9KCb.js} +2 -2
- package/dist/cdn/chunks/{list-DLzBphoL.js → list-D_BWUBh4.js} +41 -51
- package/dist/cdn/chunks/{list-item-C_ehVVWB.js → list-item-DeFrncLo.js} +116 -127
- package/dist/cdn/chunks/{list-item-segment-BSKAGZX1.js → list-item-segment-C1X5v2_Z.js} +35 -42
- package/dist/cdn/chunks/{menu-C1PAGWta.js → menu-CkMJUE0H.js} +13 -19
- package/dist/cdn/chunks/{menu-bar-0nenrPh7.js → menu-bar-B3F-QjLV.js} +7 -7
- package/dist/cdn/chunks/{menu-bar-item-CxwtcbeA.js → menu-bar-item-CyixR7Fi.js} +33 -41
- package/dist/cdn/chunks/{menu-divider-FTcoHy0o.js → menu-divider-uBPiSPsv.js} +3 -3
- package/dist/cdn/chunks/{menu-group-CbuJhLxI.js → menu-group-BXS5r-lc.js} +4 -4
- package/dist/cdn/chunks/{menu-item-BMblp58r.js → menu-item-CORxUt3u.js} +4 -4
- package/dist/cdn/chunks/{menu.template-DVwVuOZ7.js → menu.template-NyA_JtUm.js} +63 -64
- package/dist/cdn/chunks/{modal-dialog-Bd0UpTKp.js → modal-dialog-Dt5uenA0.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-C_Mrqdc7.js → multi-line-text-field-CkCvyJov.js} +7 -6
- package/dist/cdn/chunks/{navigation-split-view-DI6bkyO8.js → navigation-split-view-Clp3Camr.js} +7 -7
- package/dist/cdn/chunks/{notification-DlP3Jqyg.js → notification-B36JO2cS.js} +102 -101
- package/dist/cdn/chunks/{number-field-BJ6CkhId.js → number-field-Cjrwd3G0.js} +86 -61
- package/dist/cdn/chunks/{one-half-one-half-section-DHCUh_wz.js → one-half-one-half-section-Bc4rFjtM.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-DYTm8bKQ.js → one-third-two-thirds-section-DikIdU3X.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-DHuL7IM1.js → one-time-code-field-CqNmLld4.js} +29 -23
- package/dist/cdn/chunks/{overflow-menu-ziAYinfd.js → overflow-menu-6tdlRjhY.js} +1 -1
- package/dist/cdn/chunks/{page-CN9aT0-o.js → page-CpdGz0K6.js} +23 -16
- package/dist/cdn/chunks/{page-footer-BHk3XPcl.js → page-footer-_W5dGcQt.js} +46 -47
- package/dist/cdn/chunks/{page-section-mixin-BCWdaBe-.js → page-section-mixin-DSdHIkwR.js} +3 -3
- package/dist/cdn/chunks/{pagination-TG6S64c8.js → pagination-DJqmp7nt.js} +9 -12
- package/dist/cdn/chunks/{password-field-WlBkV6Zk.js → password-field-JKBHK_MQ.js} +12 -14
- package/dist/cdn/chunks/picker-popover-controller-dE7AINjc.js +15 -0
- package/dist/cdn/chunks/{popover-SPjzHEBv.js → popover-LljgfgHS.js} +8 -11
- package/dist/cdn/chunks/{progress-bar-y1V2-yVB.js → progress-bar-fILD82bn.js} +48 -46
- package/dist/cdn/chunks/{progress-circle-CmHdUkXN.js → progress-circle-72YbT9v1.js} +50 -51
- package/dist/cdn/chunks/{radio-button-0w_6MBnr.js → radio-button-B45WY4fZ.js} +4 -4
- package/dist/cdn/chunks/{radio-button-field-DRxHUlU-.js → radio-button-field-CG2ljZ-j.js} +36 -33
- package/dist/cdn/chunks/{radio-button-group-BOSrS8Cw.js → radio-button-group-DgQHIiXR.js} +3 -3
- package/dist/cdn/chunks/{render-marked-B37AmEcK.js → render-marked-vXU387IN.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-DNexvOly.js → reorder-handle-cell-Bc0LM08A.js} +7 -10
- package/dist/cdn/chunks/{reorder-handle-mixin-DR6s48h0.js → reorder-handle-mixin-DIkeFpRU.js} +2 -2
- package/dist/cdn/chunks/{repeat-DmJWskI3.js → repeat-Cy1a-r4p.js} +2 -2
- package/dist/cdn/chunks/{rich-text-Dt9MNeaN.js → rich-text-BZ6J0VNi.js} +6 -9
- package/dist/cdn/chunks/{row-header-mixin-CACRXO0G.js → row-header-mixin-CnCxMteQ.js} +2 -2
- package/dist/cdn/chunks/sanitize-url-EEu5iGkI.js +7 -0
- package/dist/cdn/chunks/{scroll-fade-CnG9vdGO.js → scroll-fade-BoXGZJeO.js} +2 -2
- package/dist/cdn/chunks/{scroll-mode-controller-CuCRKyLT.js → scroll-mode-controller-DlKGaDhM.js} +1 -1
- package/dist/cdn/chunks/{search-field-DHwGMif1.js → search-field-BaPPorsw.js} +14 -16
- package/dist/cdn/chunks/{segmented-control-DhEmavt0.js → segmented-control-CY7eFebV.js} +10 -11
- package/dist/cdn/chunks/{shadow-resets-B5O9JTmC.js → shadow-resets-kAFcguCG.js} +13 -3
- package/dist/cdn/chunks/{sheet-BLe_3_DE.js → sheet-EvUuqzd5.js} +3 -3
- package/dist/cdn/chunks/{shell-DqPhGCqs.js → shell-ZiZriusi.js} +4 -4
- package/dist/cdn/chunks/{side-by-side-split-view-DCAuNLWx.js → side-by-side-split-view-qj871uv2.js} +6 -6
- package/dist/cdn/chunks/{sidebar-section-nC17BdDf.js → sidebar-section-C2KLgpwu.js} +77 -77
- package/dist/cdn/chunks/{simple-section-C2XC7_dY.js → simple-section-CVQRynxS.js} +3 -3
- package/dist/cdn/chunks/{skip-link-DVUTni1o.js → skip-link-CpxEwJKH.js} +28 -26
- package/dist/cdn/chunks/{slider-D6bcOyZe.js → slider-DHY89yV6.js} +13 -15
- package/dist/cdn/chunks/{spacer-D39nYCkZ.js → spacer-BDRDeRQr.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-BWIkzpvO.js → spacer-cell-DvUxqmbS.js} +4 -4
- package/dist/cdn/chunks/{split-button-QFO3hzQ4.js → split-button-DGzX2W4w.js} +12 -13
- package/dist/cdn/chunks/{split-view-divider-BwBUUVjD.js → split-view-divider-BQdN8I8c.js} +2 -2
- package/dist/cdn/chunks/{stacked-split-view-yNPky0NT.js → stacked-split-view-CdXyXpzb.js} +6 -6
- package/dist/cdn/chunks/{static-html-CTzABBaH.js → static-html-ooiG7-by.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CLC37EL9.js → status-bar-S5IvBhAD.js} +5 -5
- package/dist/cdn/chunks/{step-bar-BhgHHkDX.js → step-bar-pkYf_gF8.js} +36 -43
- package/dist/cdn/chunks/{step-cell-DC2qTAyk.js → step-cell-3yG-UCmv.js} +5 -5
- package/dist/cdn/chunks/{stepper-B-cc2_Sm.js → stepper-DIufBp3c.js} +10 -13
- package/dist/cdn/chunks/{style-map-HtOjYtU6.js → style-map-DP8rklU9.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-k_4WmoQz.js → swatch-picker-uyMsXHeI.js} +7 -6
- package/dist/cdn/chunks/{switch-CkeeQxIb.js → switch-DQ3UDIy5.js} +6 -5
- package/dist/cdn/chunks/{switch-field-Bz3JEf0A.js → switch-field-BXH62I0E.js} +26 -23
- package/dist/cdn/chunks/{tab-bar-A1J5hAqM.js → tab-bar-B2m7RGKe.js} +63 -61
- package/dist/cdn/chunks/{table-D_AIkENk.js → table-Dtg4t_dM.js} +44 -45
- package/dist/cdn/chunks/{tag-CSEVQj4T.js → tag-BdB8MDQQ.js} +21 -19
- package/dist/cdn/chunks/{term-DuVHCQcO.js → term-DD2K8Qqb.js} +15 -18
- package/dist/cdn/chunks/{text-CBH-FTlq.js → text-C8iP63bA.js} +41 -39
- package/dist/cdn/chunks/{text-cell-D60E-KiB.js → text-cell-1pWwBLLI.js} +55 -42
- package/dist/cdn/chunks/{text-editor-CFesnlv8.js → text-editor-DjNky4l-.js} +615 -629
- package/dist/cdn/chunks/{text-field-ClvBNmw_.js → text-field-ClVrHYGz.js} +7 -6
- package/dist/cdn/chunks/text-wrap-DJ9PcwZ4.js +29 -0
- package/dist/cdn/chunks/{time-field-D1ueoBOt.js → time-field-CrwLpzZp.js} +49 -55
- package/dist/cdn/chunks/{time-picker-ttlWNV2I.js → time-picker-BYhEzGJL.js} +103 -98
- package/dist/cdn/chunks/{title-D2otK52V.js → title-DdqeERnM.js} +81 -93
- package/dist/cdn/chunks/{title-cell-BOolNM8K.js → title-cell-C4U3rN33.js} +66 -53
- package/dist/cdn/chunks/{toggle-button-CzWCZusb.js → toggle-button-CknaEM8j.js} +73 -66
- package/dist/cdn/chunks/{toggle-button-group-BUKU9xiy.js → toggle-button-group-CxyhERqD.js} +3 -3
- package/dist/cdn/chunks/{token-HxBj8tdv.js → token-I0vH42iy.js} +13 -15
- package/dist/cdn/chunks/{token-field-DHAfga9R.js → token-field-B1sAqN0B.js} +17 -19
- package/dist/cdn/chunks/{toolbar-CR6uWzjc.js → toolbar-DRIyU8-Z.js} +48 -54
- package/dist/cdn/chunks/{toolbar-item-M5kEBN_1.js → toolbar-item-D1JDaFal.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-2XyAXFDG.js → toolbar-title-D7CCOmDz.js} +7 -10
- package/dist/cdn/chunks/{toolbar.styles-SLbsPK33.js → toolbar.styles-CXjPigMk.js} +10 -18
- package/dist/cdn/chunks/{tooltip-yN6v0-a6.js → tooltip-5clp5S3T.js} +41 -40
- package/dist/cdn/chunks/{top-navigation-bar-DSv3hYF4.js → top-navigation-bar-CEuIAOoy.js} +116 -109
- package/dist/cdn/chunks/{top-title-bar-Cs93GAbh.js → top-title-bar-M3NiRgr_.js} +14 -7
- package/dist/cdn/chunks/{two-thirds-one-third-section-DtrkuHxs.js → two-thirds-one-third-section-BJGAw7Mq.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BrEOIlrc.js → validation-list-CTb7X_Gq.js} +30 -31
- package/dist/cdn/chunks/{visibility-mixin-CklY4qL7.js → visibility-mixin-BgnkZDZM.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-Clb3JvVO.js → visually-hidden-B4_jKNA7.js} +2 -2
- package/dist/cdn/chunks/{window-CVRtBBjQ.js → window-BmxrtW9P.js} +7 -10
- package/dist/cdn/chunks/with-translations-DSfo7eL-.js +28 -0
- package/dist/components/actions/button/button.d.ts +6 -9
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +5 -11
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +2 -1
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +6 -9
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts +5 -8
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +10 -13
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +3 -19
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +25 -22
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +3 -7
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +5 -4
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +2 -10
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +2 -0
- package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar-title.d.ts +7 -4
- package/dist/components/actions/toolbar/toolbar-title.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar-title.js +2 -9
- package/dist/components/actions/toolbar/toolbar-title.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +7 -4
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +15 -25
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +2 -10
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -1
- package/dist/components/content/accordion/accordion-item.styles.js +3 -2
- package/dist/components/content/accordion/accordion-item.styles.js.map +1 -1
- package/dist/components/content/accordion/accordion.d.ts +1 -1
- package/dist/components/content/accordion/accordion.js +1 -1
- package/dist/components/content/accordion/accordion.styles.d.ts.map +1 -1
- package/dist/components/content/accordion/accordion.styles.js +1 -0
- package/dist/components/content/accordion/accordion.styles.js.map +1 -1
- package/dist/components/content/admonition/admonition.d.ts +2 -2
- package/dist/components/content/admonition/admonition.js +2 -2
- package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -1
- package/dist/components/content/admonition/admonition.styles.js +3 -2
- package/dist/components/content/admonition/admonition.styles.js.map +1 -1
- package/dist/components/content/avatar/avatar.d.ts +14 -17
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +16 -16
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +1 -1
- package/dist/components/content/avatar/avatar.template.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.template.js +2 -1
- package/dist/components/content/avatar/avatar.template.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +5 -8
- package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +3 -0
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +16 -5
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +5 -13
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +3 -16
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/icon/icon-categories.d.ts +2 -0
- package/dist/components/content/icon/icon-categories.d.ts.map +1 -0
- package/dist/components/content/icon/icon-categories.js +454 -0
- package/dist/components/content/icon/icon-categories.js.map +1 -0
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
- package/dist/components/content/identity/identity.styles.js +3 -0
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/image/image.d.ts +9 -9
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +9 -17
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +11 -8
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +2 -7
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +15 -14
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +18 -25
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/content/tag/tag.styles.js +3 -1
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/term/term.d.ts +6 -5
- package/dist/components/content/term/term.d.ts.map +1 -1
- package/dist/components/content/term/term.js +2 -10
- package/dist/components/content/term/term.js.map +1 -1
- package/dist/components/content/text/text.d.ts +8 -0
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +11 -0
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +7 -8
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/title/title.d.ts +3 -1
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +3 -1
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/title/title.styles.d.ts.map +1 -1
- package/dist/components/content/title/title.styles.js +7 -19
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/token/token.d.ts +9 -6
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +7 -14
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/content/token/token.template.js +1 -1
- package/dist/components/content/token/token.template.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +2 -1
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +5 -6
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +2 -11
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +8 -0
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.template.js +1 -1
- package/dist/components/forms/form-field/form-field.template.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.d.ts +12 -4
- package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.js +2 -9
- package/dist/components/forms/validation-list/validation-list.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.styles.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.styles.js +2 -0
- package/dist/components/forms/validation-list/validation-list.styles.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +1 -0
- package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +4 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +1 -0
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +7 -4
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +2 -10
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +1 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +26 -5
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +11 -21
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +1 -12
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +128 -62
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +19 -1
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.js +3 -8
- package/dist/components/inputs/date-picker/date-picker.styles.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +2 -2
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +7 -7
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +75 -5
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +2 -10
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +6 -9
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +1 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +16 -8
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +18 -19
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +30 -12
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.js +34 -25
- package/dist/components/inputs/number-field/number-field.template.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +6 -4
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js +30 -15
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +1 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts +11 -5
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +2 -10
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +1 -0
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +4 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +7 -5
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +2 -11
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +1 -0
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +3 -3
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +3 -4
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/slider/slider.d.ts +7 -5
- package/dist/components/inputs/slider/slider.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.js +2 -10
- package/dist/components/inputs/slider/slider.js.map +1 -1
- package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.styles.js +1 -0
- package/dist/components/inputs/slider/slider.styles.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts +9 -5
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +2 -11
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +20 -23
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.js +1 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.js.map +1 -1
- package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +1 -0
- package/dist/components/inputs/switch/switch.styles.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js +4 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +16 -10
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +2 -15
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.js +6 -3
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +7 -20
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +1 -0
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +16 -5
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +5 -18
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +18 -4
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +15 -8
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +1 -0
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +7 -2
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +11 -2
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +1 -0
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +0 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +6 -10
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +8 -12
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +13 -4
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +2 -9
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +3 -2
- package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +6 -9
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.template.d.ts.map +1 -1
- package/dist/components/layout/card/card.template.js +2 -1
- package/dist/components/layout/card/card.template.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +7 -4
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +2 -10
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.styles.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.styles.js +1 -0
- package/dist/components/layout/collection/collection.styles.js.map +1 -1
- package/dist/components/layout/kanban/kanban.d.ts +9 -12
- package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.styles.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.styles.js +2 -7
- package/dist/components/layout/kanban/kanban.styles.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +15 -6
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +30 -12
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +2 -1
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +5 -4
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +2 -12
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +2 -0
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.js +1 -1
- package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +7 -7
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +13 -13
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +4 -5
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +2 -10
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +25 -22
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +1 -1
- package/dist/components/layout/popover/popover.d.ts +5 -8
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +2 -14
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/window/window.d.ts +5 -8
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +2 -14
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts +23 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +26 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +16 -3
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts +3 -5
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js +2 -11
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +32 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +35 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +16 -6
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +18 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +21 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +16 -6
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +13 -5
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +2 -11
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +2 -9
- package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +6 -9
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +4 -14
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +2 -10
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js +2 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +6 -9
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +2 -9
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts +5 -4
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +15 -21
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.js +2 -0
- package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +9 -6
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +6 -14
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +15 -15
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +10 -9
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +7 -10
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +2 -10
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +6 -9
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +2 -10
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/link/link.template.d.ts.map +1 -1
- package/dist/components/navigation/link/link.template.js +2 -1
- package/dist/components/navigation/link/link.template.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +3 -6
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +2 -10
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.d.ts +9 -4
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +2 -9
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.d.ts +4 -7
- package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +6 -0
- package/dist/components/navigation/skip-link/skip-link.styles.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.js +2 -6
- package/dist/components/navigation/skip-link/skip-link.template.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +3 -6
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +25 -17
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +8 -11
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +8 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js +2 -2
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +14 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +14 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +5 -4
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +2 -9
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +2 -7
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +3 -6
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +0 -5
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts +5 -5
- package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +2 -10
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +3 -6
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +6 -0
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +4 -7
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +2 -10
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts +4 -7
- package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.js +3 -2
- package/dist/components/status-and-feedback/notification/notification.styles.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notifications-area.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notifications-area.js +5 -0
- package/dist/components/status-and-feedback/notification/notifications-area.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +9 -6
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +3 -11
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +6 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +8 -4
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +2 -9
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +2 -0
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +12 -12
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js +4 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +8 -15
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
- package/dist/css/rich-text.css +38 -40
- package/dist/css/text.css +2 -0
- package/dist/css/title.css +2 -0
- package/dist/css/variables.css +5 -1
- package/dist/nldd.min.js +1684 -1704
- package/dist/types/react.d.ts +79 -70
- package/dist/types/vue.d.ts +95 -85
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +20 -5
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/layout-pass.d.ts +3 -1
- package/dist/utilities/layout-pass.d.ts.map +1 -1
- package/dist/utilities/layout-pass.js +26 -3
- package/dist/utilities/layout-pass.js.map +1 -1
- package/dist/utilities/picker-popover-controller.d.ts +25 -0
- package/dist/utilities/picker-popover-controller.d.ts.map +1 -0
- package/dist/utilities/picker-popover-controller.js +33 -0
- package/dist/utilities/picker-popover-controller.js.map +1 -0
- package/dist/utilities/sanitize-url.d.ts +11 -5
- package/dist/utilities/sanitize-url.d.ts.map +1 -1
- package/dist/utilities/sanitize-url.js +13 -9
- package/dist/utilities/sanitize-url.js.map +1 -1
- package/dist/utilities/with-translations.d.ts +14 -9
- package/dist/utilities/with-translations.d.ts.map +1 -1
- package/dist/utilities/with-translations.js +6 -5
- package/dist/utilities/with-translations.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +6 -3
- package/package.json +1 -1
- package/dist/cdn/chunks/sanitize-url-CBuGmY0W.js +0 -7
- package/dist/cdn/chunks/translations-1C8iw2u1.js +0 -14
- package/dist/cdn/chunks/with-translations-CaLhynTn.js +0 -16
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { n as i, r as a, s as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CIC8fGPN.js";
|
|
2
|
+
import { n as i, r as a, s as o } from "./custom-element-7tLnKgZE.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { t as l } from "./shadow-resets-
|
|
6
|
-
import {
|
|
7
|
-
import { t as d } from "./
|
|
8
|
-
import { t as f } from "./
|
|
9
|
-
import "./
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
5
|
+
import { t as l } from "./shadow-resets-kAFcguCG.js";
|
|
6
|
+
import { o as u } from "./text-wrap-DJ9PcwZ4.js";
|
|
7
|
+
import { t as d } from "./if-defined-BG5WQE1B.js";
|
|
8
|
+
import { t as f } from "./class-map-07EioFee.js";
|
|
9
|
+
import { t as p } from "./progress-bar.i18n-Cr5miGTx.js";
|
|
10
|
+
import "./tooltip-5clp5S3T.js";
|
|
11
|
+
import { t as m } from "./with-translations-DSfo7eL-.js";
|
|
12
|
+
import { r as h } from "./element-state-D-J_cHEV.js";
|
|
12
13
|
// src/components/status-and-feedback/progress-bar/progress-bar.styles.ts
|
|
13
|
-
var
|
|
14
|
+
var g = o`
|
|
14
15
|
:host {
|
|
15
16
|
box-sizing: border-box;
|
|
16
17
|
}
|
|
@@ -89,13 +90,15 @@ var h = o`
|
|
|
89
90
|
display: flex;
|
|
90
91
|
gap: var(--_progress-bar-caption-gap);
|
|
91
92
|
justify-content: space-between;
|
|
92
|
-
align-items:
|
|
93
|
+
align-items: flex-end;
|
|
93
94
|
--context-content-color: var(--_progress-bar-text-color);
|
|
94
95
|
color: var(--_progress-bar-text-color);
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
.progress-bar__text {
|
|
99
|
+
min-width: 0;
|
|
98
100
|
font: var(--_progress-bar-text-font);
|
|
101
|
+
${u}
|
|
99
102
|
text-wrap: pretty;
|
|
100
103
|
}
|
|
101
104
|
|
|
@@ -105,6 +108,8 @@ var h = o`
|
|
|
105
108
|
font: var(--_progress-bar-supporting-text-font);
|
|
106
109
|
font-variant-numeric: tabular-nums;
|
|
107
110
|
text-align: right;
|
|
111
|
+
white-space: nowrap;
|
|
112
|
+
flex-shrink: 0;
|
|
108
113
|
}
|
|
109
114
|
|
|
110
115
|
|
|
@@ -221,7 +226,7 @@ var h = o`
|
|
|
221
226
|
border: 1px solid CanvasText;
|
|
222
227
|
}
|
|
223
228
|
}
|
|
224
|
-
`,
|
|
229
|
+
`, _ = o`
|
|
225
230
|
|
|
226
231
|
|
|
227
232
|
/* # Host */
|
|
@@ -435,7 +440,7 @@ var h = o`
|
|
|
435
440
|
}
|
|
436
441
|
`;
|
|
437
442
|
// src/components/status-and-feedback/progress-bar/progress-bar.template.ts
|
|
438
|
-
function
|
|
443
|
+
function v(e) {
|
|
439
444
|
let n = e._effectiveTooltip;
|
|
440
445
|
return n ? t`
|
|
441
446
|
<div class="progress-bar__segment-indicator">
|
|
@@ -456,8 +461,8 @@ function _(e) {
|
|
|
456
461
|
</div>
|
|
457
462
|
`;
|
|
458
463
|
}
|
|
459
|
-
function
|
|
460
|
-
let i = e._hasCaption, a = e._indeterminateExiting, o = e._indeterminateEntering, s = (e.indeterminate || a) && !e._hasSegmentIndicators, c = !e._hasSegmentIndicators && e.value !== null && e.value > 0 && (!e.indeterminate || o), l = e.indeterminate ? void 0 : Math.round(e._totalValue),
|
|
464
|
+
function y(e, r) {
|
|
465
|
+
let i = e._hasCaption, a = e._indeterminateExiting, o = e._indeterminateEntering, s = (e.indeterminate || a) && !e._hasSegmentIndicators, c = !e._hasSegmentIndicators && e.value !== null && e.value > 0 && (!e.indeterminate || o), l = e.indeterminate ? void 0 : Math.round(e._totalValue), u = e.text || e._t("components.progress-bar.accessible-label");
|
|
461
466
|
return t`
|
|
462
467
|
${i ? t`
|
|
463
468
|
<div class="progress-bar__caption">
|
|
@@ -467,10 +472,10 @@ function v(e, r) {
|
|
|
467
472
|
` : n}
|
|
468
473
|
<div class="progress-bar__track"
|
|
469
474
|
role="progressbar"
|
|
470
|
-
aria-label=${
|
|
475
|
+
aria-label=${u}
|
|
471
476
|
aria-valuemin="0"
|
|
472
477
|
aria-valuemax=${e.max}
|
|
473
|
-
aria-valuenow=${
|
|
478
|
+
aria-valuenow=${d(l)}
|
|
474
479
|
aria-valuetext=${e._ariaValueText}
|
|
475
480
|
>
|
|
476
481
|
${c ? t`
|
|
@@ -481,7 +486,7 @@ function v(e, r) {
|
|
|
481
486
|
` : n}
|
|
482
487
|
<slot @slotchange=${r}></slot>
|
|
483
488
|
${s ? t`
|
|
484
|
-
<div class=${
|
|
489
|
+
<div class=${f({
|
|
485
490
|
"progress-bar__indeterminate-indicator": !0,
|
|
486
491
|
"is-fading-out": a && !e.indeterminate,
|
|
487
492
|
"is-fading-in": o && e.indeterminate
|
|
@@ -491,7 +496,7 @@ function v(e, r) {
|
|
|
491
496
|
`;
|
|
492
497
|
}
|
|
493
498
|
// src/components/status-and-feedback/progress-bar/progress-bar.ts
|
|
494
|
-
var
|
|
499
|
+
var b, x, S = 300, C = (b = class extends e {
|
|
495
500
|
constructor(...e) {
|
|
496
501
|
super(...e), this.color = "accent", this.tooltipText = "", this.name = "", this.value = 0, this._autoTooltipText = "";
|
|
497
502
|
}
|
|
@@ -499,29 +504,26 @@ var y, b, x = 300, S = (y = class extends e {
|
|
|
499
504
|
return this.tooltipText || this._autoTooltipText || "";
|
|
500
505
|
}
|
|
501
506
|
render() {
|
|
502
|
-
return
|
|
507
|
+
return v(this);
|
|
503
508
|
}
|
|
504
|
-
},
|
|
509
|
+
}, b.styles = _, b);
|
|
505
510
|
r([a({
|
|
506
511
|
reflect: !0,
|
|
507
512
|
converter: c("accent")
|
|
508
|
-
})],
|
|
513
|
+
})], C.prototype, "color", void 0), r([a({
|
|
509
514
|
reflect: !0,
|
|
510
515
|
attribute: "tooltip-text",
|
|
511
516
|
converter: c("")
|
|
512
|
-
})],
|
|
517
|
+
})], C.prototype, "tooltipText", void 0), r([a({
|
|
513
518
|
reflect: !0,
|
|
514
519
|
converter: c("")
|
|
515
|
-
})],
|
|
520
|
+
})], C.prototype, "name", void 0), r([a({
|
|
516
521
|
type: Number,
|
|
517
522
|
reflect: !0
|
|
518
|
-
})],
|
|
519
|
-
var
|
|
523
|
+
})], C.prototype, "value", void 0), r([i()], C.prototype, "_autoTooltipText", void 0), C = r([s("nldd-progress-bar-segment-indicator")], C);
|
|
524
|
+
var w = (x = class extends m(e, p) {
|
|
520
525
|
constructor(...e) {
|
|
521
|
-
super(...e), this.variant = "progress", this.color = "accent", this.size = "md", this.text = "", this.accessibleLabel = "", this.valueText = "", this.valueFormat = "percentage", this.valueDisplay = "inline", this.indeterminate = !1, this.value = null, this.max = 100, this.
|
|
522
|
-
}
|
|
523
|
-
_t(e) {
|
|
524
|
-
return p(this.translations, f, e);
|
|
526
|
+
super(...e), this.variant = "progress", this.color = "accent", this.size = "md", this.text = "", this.accessibleLabel = "", this.valueText = "", this.valueFormat = "percentage", this.valueDisplay = "inline", this.indeterminate = !1, this.value = null, this.max = 100, this._segmentIndicators = [], this._indeterminateExiting = !1, this._indeterminateEntering = !1, this._onSlotChangeBound = this._onSlotChange.bind(this);
|
|
525
527
|
}
|
|
526
528
|
get _hasSegmentIndicators() {
|
|
527
529
|
return this._segmentIndicators.length > 0;
|
|
@@ -608,7 +610,7 @@ var C = (b = class extends e {
|
|
|
608
610
|
}
|
|
609
611
|
_onSlotChange() {
|
|
610
612
|
let e = (this.shadowRoot?.querySelector("slot:not([name])"))?.assignedElements({ flatten: !0 }) ?? [];
|
|
611
|
-
this._segmentIndicators = e.filter((e) => e instanceof
|
|
613
|
+
this._segmentIndicators = e.filter((e) => e instanceof C), this._attributeObserver?.disconnect(), this._attributeObserver = new MutationObserver(() => this.requestUpdate());
|
|
612
614
|
for (let e of this._segmentIndicators) this._attributeObserver.observe(e, {
|
|
613
615
|
attributes: !0,
|
|
614
616
|
attributeFilter: [
|
|
@@ -621,7 +623,7 @@ var C = (b = class extends e {
|
|
|
621
623
|
}
|
|
622
624
|
_syncSegmentIndicators() {
|
|
623
625
|
let e = this._totalValue, t = e > this.max ? e : this.max;
|
|
624
|
-
|
|
626
|
+
h(this, "exceeds-max", e > this.max && this._hasSegmentIndicators);
|
|
625
627
|
let n = this.shadowRoot?.querySelector("nldd-progress-bar-segment-indicator") ?? null, r = n ? [n, ...this._segmentIndicators] : [...this._segmentIndicators], i = r.filter((e) => Math.max(0, e.value) > 0).length <= 1 && this.valueDisplay !== "tooltip", a = this._indeterminateExiting, o = this._indeterminateEntering;
|
|
626
628
|
for (let e of r) {
|
|
627
629
|
let n = Math.max(0, e.value);
|
|
@@ -635,45 +637,45 @@ var C = (b = class extends e {
|
|
|
635
637
|
}
|
|
636
638
|
}
|
|
637
639
|
render() {
|
|
638
|
-
return
|
|
640
|
+
return y(this, this._onSlotChangeBound);
|
|
639
641
|
}
|
|
640
|
-
},
|
|
642
|
+
}, x.styles = g, x);
|
|
641
643
|
r([a({
|
|
642
644
|
reflect: !0,
|
|
643
645
|
converter: c("progress")
|
|
644
|
-
})],
|
|
646
|
+
})], w.prototype, "variant", void 0), r([a({
|
|
645
647
|
reflect: !0,
|
|
646
648
|
converter: c("accent")
|
|
647
|
-
})],
|
|
649
|
+
})], w.prototype, "color", void 0), r([a({
|
|
648
650
|
reflect: !0,
|
|
649
651
|
converter: c("md")
|
|
650
|
-
})],
|
|
652
|
+
})], w.prototype, "size", void 0), r([a({
|
|
651
653
|
reflect: !0,
|
|
652
654
|
converter: c("")
|
|
653
|
-
})],
|
|
655
|
+
})], w.prototype, "text", void 0), r([a({
|
|
654
656
|
reflect: !0,
|
|
655
657
|
attribute: "accessible-label",
|
|
656
658
|
converter: c("")
|
|
657
|
-
})],
|
|
659
|
+
})], w.prototype, "accessibleLabel", void 0), r([a({
|
|
658
660
|
reflect: !0,
|
|
659
661
|
attribute: "value-text",
|
|
660
662
|
converter: c("")
|
|
661
|
-
})],
|
|
663
|
+
})], w.prototype, "valueText", void 0), r([a({
|
|
662
664
|
reflect: !0,
|
|
663
665
|
attribute: "value-format",
|
|
664
666
|
converter: c("percentage")
|
|
665
|
-
})],
|
|
667
|
+
})], w.prototype, "valueFormat", void 0), r([a({
|
|
666
668
|
reflect: !0,
|
|
667
669
|
attribute: "value-display",
|
|
668
670
|
converter: c("inline")
|
|
669
|
-
})],
|
|
671
|
+
})], w.prototype, "valueDisplay", void 0), r([a({
|
|
670
672
|
type: Boolean,
|
|
671
673
|
reflect: !0
|
|
672
|
-
})],
|
|
674
|
+
})], w.prototype, "indeterminate", void 0), r([a({
|
|
673
675
|
type: Number,
|
|
674
676
|
reflect: !0
|
|
675
|
-
})],
|
|
677
|
+
})], w.prototype, "value", void 0), r([a({
|
|
676
678
|
reflect: !0,
|
|
677
679
|
converter: c(100)
|
|
678
|
-
})],
|
|
679
|
-
export {
|
|
680
|
+
})], w.prototype, "max", void 0), r([i()], w.prototype, "_segmentIndicators", void 0), r([i()], w.prototype, "_indeterminateExiting", void 0), r([i()], w.prototype, "_indeterminateEntering", void 0), w = r([s("nldd-progress-bar")], w);
|
|
681
|
+
export { S as INDETERMINATE_TRANSITION_MS, w as NLDDProgressBar, C as NLDDProgressBarSegmentIndicator };
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { c as e, n as t, o as n, r, t as i } from "./decorate-
|
|
2
|
-
import { n as a, r as o, s } from "./custom-element-
|
|
1
|
+
import { c as e, n as t, o as n, r, t as i } from "./decorate-CIC8fGPN.js";
|
|
2
|
+
import { n as a, r as o, s } from "./custom-element-7tLnKgZE.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { t as u } from "./shadow-resets-
|
|
6
|
-
import {
|
|
7
|
-
import { t as f } from "./
|
|
8
|
-
import { t as p } from "./
|
|
9
|
-
import "./
|
|
10
|
-
import
|
|
5
|
+
import { t as u } from "./shadow-resets-kAFcguCG.js";
|
|
6
|
+
import { o as d } from "./text-wrap-DJ9PcwZ4.js";
|
|
7
|
+
import { t as f } from "./if-defined-BG5WQE1B.js";
|
|
8
|
+
import { t as p } from "./style-map-DP8rklU9.js";
|
|
9
|
+
import { t as m } from "./progress-circle.i18n-CRrXuY4V.js";
|
|
10
|
+
import "./tooltip-5clp5S3T.js";
|
|
11
|
+
import { t as h } from "./with-translations-DSfo7eL-.js";
|
|
11
12
|
// src/components/status-and-feedback/progress-circle/progress-circle.styles.ts
|
|
12
|
-
var
|
|
13
|
+
var g = s`
|
|
13
14
|
:host {
|
|
14
15
|
box-sizing: border-box;
|
|
15
16
|
}
|
|
@@ -229,6 +230,7 @@ var h = s`
|
|
|
229
230
|
color: var(--_progress-circle-text-color);
|
|
230
231
|
font: var(--_progress-circle-text-font);
|
|
231
232
|
text-align: center;
|
|
233
|
+
${d}
|
|
232
234
|
text-wrap: balance;
|
|
233
235
|
}
|
|
234
236
|
|
|
@@ -282,32 +284,32 @@ var h = s`
|
|
|
282
284
|
stroke: CanvasText;
|
|
283
285
|
}
|
|
284
286
|
}
|
|
285
|
-
`,
|
|
287
|
+
`, _ = s`
|
|
286
288
|
:host {
|
|
287
289
|
display: none;
|
|
288
290
|
}
|
|
289
291
|
`;
|
|
290
292
|
// src/components/status-and-feedback/progress-circle/progress-circle.template.ts
|
|
291
|
-
function _(e) {
|
|
292
|
-
return e <= 16 ? 3 : e <= 28 ? 4 : e <= 40 ? 5 : e <= 48 ? 6 : e <= 64 ? 7 : 8;
|
|
293
|
-
}
|
|
294
293
|
function v(e) {
|
|
295
|
-
return
|
|
294
|
+
return e <= 16 ? 3 : e <= 28 ? 4 : e <= 40 ? 5 : e <= 48 ? 6 : e <= 64 ? 7 : 8;
|
|
296
295
|
}
|
|
297
296
|
function y(e) {
|
|
298
|
-
return
|
|
297
|
+
return 50 - v(e) * 100 / e / 2;
|
|
299
298
|
}
|
|
300
299
|
function b(e) {
|
|
300
|
+
return 2 * Math.PI * y(e);
|
|
301
|
+
}
|
|
302
|
+
function x(e) {
|
|
301
303
|
return 100 / e;
|
|
302
304
|
}
|
|
303
|
-
function
|
|
304
|
-
let a = t._tooltipText, o = t._ariaValueText, s = t.indeterminate ? void 0 : Math.round(t._totalValue), c = t._indeterminateExiting, l = (t.indeterminate || c) && !t._hasSegmentIndicators, u = !t.indeterminate || t._indeterminateEntering ? t._buildArcs() : [],
|
|
305
|
+
function S(t, i) {
|
|
306
|
+
let a = t._tooltipText, o = t._ariaValueText, s = t.indeterminate ? void 0 : Math.round(t._totalValue), c = t._indeterminateExiting, l = (t.indeterminate || c) && !t._hasSegmentIndicators, u = !t.indeterminate || t._indeterminateEntering ? t._buildArcs() : [], d = Number(t.size) || 28, m = y(d), h = b(d), g = x(d).toFixed(3), _ = [...new Set(u.map((e) => e.color))], v = t._uid, S = t.text || t._t("components.progress-circle.accessible-label"), C = n`
|
|
305
307
|
<div class="progress-circle__circle"
|
|
306
308
|
role="progressbar"
|
|
307
309
|
aria-label=${S}
|
|
308
310
|
aria-valuemin="0"
|
|
309
311
|
aria-valuemax=${t.max}
|
|
310
|
-
aria-valuenow=${
|
|
312
|
+
aria-valuenow=${f(s)}
|
|
311
313
|
aria-valuetext=${o}
|
|
312
314
|
>
|
|
313
315
|
<svg class="progress-circle__svg"
|
|
@@ -316,7 +318,7 @@ function x(t, i) {
|
|
|
316
318
|
>
|
|
317
319
|
<defs>
|
|
318
320
|
<filter
|
|
319
|
-
id="progress-circle-border-track-${
|
|
321
|
+
id="progress-circle-border-track-${v}"
|
|
320
322
|
filterUnits="userSpaceOnUse"
|
|
321
323
|
x="-10"
|
|
322
324
|
y="-10"
|
|
@@ -353,7 +355,7 @@ function x(t, i) {
|
|
|
353
355
|
</filter>
|
|
354
356
|
${_.map((t) => e`
|
|
355
357
|
<filter
|
|
356
|
-
id="progress-circle-border-${t}-${
|
|
358
|
+
id="progress-circle-border-${t}-${v}"
|
|
357
359
|
filterUnits="userSpaceOnUse"
|
|
358
360
|
x="-10"
|
|
359
361
|
y="-10"
|
|
@@ -374,7 +376,7 @@ function x(t, i) {
|
|
|
374
376
|
result="edge"
|
|
375
377
|
></feComposite>
|
|
376
378
|
<feFlood class="progress-circle__flood"
|
|
377
|
-
style=${
|
|
379
|
+
style=${p({ floodColor: t === "accent" ? "var(--components-progress-circle-accent-highlight-border-color)" : `var(--semantics-categories-${t}-filled-highlight-border-color)` })}
|
|
378
380
|
result="flood"
|
|
379
381
|
></feFlood>
|
|
380
382
|
<feComposite
|
|
@@ -392,7 +394,7 @@ function x(t, i) {
|
|
|
392
394
|
`)}
|
|
393
395
|
${l ? e`
|
|
394
396
|
<filter
|
|
395
|
-
id="progress-circle-border-indeterminate-${
|
|
397
|
+
id="progress-circle-border-indeterminate-${v}"
|
|
396
398
|
filterUnits="userSpaceOnUse"
|
|
397
399
|
x="-10"
|
|
398
400
|
y="-10"
|
|
@@ -434,7 +436,7 @@ function x(t, i) {
|
|
|
434
436
|
cy="50"
|
|
435
437
|
r=${m}
|
|
436
438
|
fill="none"
|
|
437
|
-
filter="url(#progress-circle-border-track-${
|
|
439
|
+
filter="url(#progress-circle-border-track-${v})"
|
|
438
440
|
></circle>
|
|
439
441
|
${u.map((t) => e`
|
|
440
442
|
<circle class="progress-circle__segment-indicator progress-circle__segment-indicator--${t.color}"
|
|
@@ -444,7 +446,7 @@ function x(t, i) {
|
|
|
444
446
|
fill="none"
|
|
445
447
|
stroke-dasharray="${t.length} ${h}"
|
|
446
448
|
stroke-dashoffset=${-t.offset}
|
|
447
|
-
filter="url(#progress-circle-border-${t.color}-${
|
|
449
|
+
filter="url(#progress-circle-border-${t.color}-${v})"
|
|
448
450
|
></circle>
|
|
449
451
|
`)}
|
|
450
452
|
${l ? e`
|
|
@@ -455,7 +457,7 @@ function x(t, i) {
|
|
|
455
457
|
fill="none"
|
|
456
458
|
pathLength="100"
|
|
457
459
|
stroke-linecap="round"
|
|
458
|
-
filter="url(#progress-circle-border-indeterminate-${
|
|
460
|
+
filter="url(#progress-circle-border-indeterminate-${v})"
|
|
459
461
|
></circle>
|
|
460
462
|
` : r}
|
|
461
463
|
</svg>
|
|
@@ -479,30 +481,27 @@ function x(t, i) {
|
|
|
479
481
|
`;
|
|
480
482
|
}
|
|
481
483
|
// src/components/status-and-feedback/progress-circle/progress-circle.ts
|
|
482
|
-
var
|
|
484
|
+
var C, w, T, E = 300, D = (C = class extends t {
|
|
483
485
|
constructor(...e) {
|
|
484
486
|
super(...e), this.color = "accent", this.name = "", this.value = 0;
|
|
485
487
|
}
|
|
486
488
|
render() {
|
|
487
489
|
return r;
|
|
488
490
|
}
|
|
489
|
-
},
|
|
491
|
+
}, C.styles = _, C);
|
|
490
492
|
i([o({
|
|
491
493
|
reflect: !0,
|
|
492
494
|
converter: l("accent")
|
|
493
|
-
})],
|
|
495
|
+
})], D.prototype, "color", void 0), i([o({
|
|
494
496
|
reflect: !0,
|
|
495
497
|
converter: l("")
|
|
496
|
-
})],
|
|
498
|
+
})], D.prototype, "name", void 0), i([o({
|
|
497
499
|
type: Number,
|
|
498
500
|
reflect: !0
|
|
499
|
-
})],
|
|
500
|
-
var
|
|
501
|
+
})], D.prototype, "value", void 0), D = i([c("nldd-progress-circle-segment-indicator")], D);
|
|
502
|
+
var O = (w = class extends h(t, m) {
|
|
501
503
|
constructor(...e) {
|
|
502
|
-
super(...e), this.variant = "progress", this.color = "accent", this.size = "28", this.text = "", this.accessibleLabel = "", this.valueText = "", this.valueFormat = "percentage", this.valueDisplay = "tooltip", this.indeterminate = !1, this.value = null, this.max = 100, this.
|
|
503
|
-
}
|
|
504
|
-
_t(e) {
|
|
505
|
-
return m(this.translations, p, e);
|
|
504
|
+
super(...e), this.variant = "progress", this.color = "accent", this.size = "28", this.text = "", this.accessibleLabel = "", this.valueText = "", this.valueFormat = "percentage", this.valueDisplay = "tooltip", this.indeterminate = !1, this.value = null, this.max = 100, this._segmentIndicators = [], this._indeterminateExiting = !1, this._indeterminateEntering = !1, this._arcsAtZero = !1, this._uid = `pc-${T._idCounter++}`, this._onSlotChangeBound = this._onSlotChange.bind(this);
|
|
506
505
|
}
|
|
507
506
|
get _hasSegmentIndicators() {
|
|
508
507
|
return this._segmentIndicators.length > 0;
|
|
@@ -590,7 +589,7 @@ var D = (C = class extends t {
|
|
|
590
589
|
}
|
|
591
590
|
_onSlotChange() {
|
|
592
591
|
let e = (this.shadowRoot?.querySelector("slot:not([name])"))?.assignedElements({ flatten: !0 }) ?? [];
|
|
593
|
-
this._segmentIndicators = e.filter((e) => e instanceof
|
|
592
|
+
this._segmentIndicators = e.filter((e) => e instanceof D), this._attributeObserver?.disconnect(), this._attributeObserver = new MutationObserver(() => this.requestUpdate());
|
|
594
593
|
for (let e of this._segmentIndicators) this._attributeObserver.observe(e, {
|
|
595
594
|
attributes: !0,
|
|
596
595
|
attributeFilter: [
|
|
@@ -607,7 +606,7 @@ var D = (C = class extends t {
|
|
|
607
606
|
})) : this.value === null ? [] : [{
|
|
608
607
|
value: Math.max(0, this.value),
|
|
609
608
|
color: this.color
|
|
610
|
-
}], n = Number(this.size) || 28, r =
|
|
609
|
+
}], n = Number(this.size) || 28, r = v(n), i = t.length > 1 || this.variant === "distribution", a = this.variant !== "distribution", o = ((i ? a ? 1 : 2 : 0) + (a && i ? r : 0)) * (100 / n), s = b(n), c = this._totalValue, l = c > this.max ? c : this.max, u = 0;
|
|
611
610
|
for (let n of t) {
|
|
612
611
|
let t = (l > 0 ? n.value / l : 0) * s, r = this._arcsAtZero || n.value <= 0 ? 0 : Math.max(0, t - o);
|
|
613
612
|
e.push({
|
|
@@ -619,7 +618,7 @@ var D = (C = class extends t {
|
|
|
619
618
|
return e;
|
|
620
619
|
}
|
|
621
620
|
render() {
|
|
622
|
-
return
|
|
621
|
+
return S(this, this._onSlotChangeBound);
|
|
623
622
|
}
|
|
624
623
|
updated(e) {
|
|
625
624
|
(e.has("_indeterminateEntering") || e.has("_indeterminateExiting")) && this._syncDynamicAttributes();
|
|
@@ -630,43 +629,43 @@ var D = (C = class extends t {
|
|
|
630
629
|
let t = this.shadowRoot?.querySelector(".progress-circle__indeterminate-indicator");
|
|
631
630
|
t && (this._indeterminateExiting && !this.indeterminate ? t.setAttribute("data-fade", "out") : t.removeAttribute("data-fade"));
|
|
632
631
|
}
|
|
633
|
-
},
|
|
632
|
+
}, T = w, w.styles = g, w._idCounter = 0, w);
|
|
634
633
|
i([o({
|
|
635
634
|
reflect: !0,
|
|
636
635
|
converter: l("progress")
|
|
637
|
-
})],
|
|
636
|
+
})], O.prototype, "variant", void 0), i([o({
|
|
638
637
|
reflect: !0,
|
|
639
638
|
converter: l("accent")
|
|
640
|
-
})],
|
|
639
|
+
})], O.prototype, "color", void 0), i([o({
|
|
641
640
|
reflect: !0,
|
|
642
641
|
converter: l("28")
|
|
643
|
-
})],
|
|
642
|
+
})], O.prototype, "size", void 0), i([o({
|
|
644
643
|
reflect: !0,
|
|
645
644
|
converter: l("")
|
|
646
|
-
})],
|
|
645
|
+
})], O.prototype, "text", void 0), i([o({
|
|
647
646
|
reflect: !0,
|
|
648
647
|
attribute: "accessible-label",
|
|
649
648
|
converter: l("")
|
|
650
|
-
})],
|
|
649
|
+
})], O.prototype, "accessibleLabel", void 0), i([o({
|
|
651
650
|
reflect: !0,
|
|
652
651
|
attribute: "value-text",
|
|
653
652
|
converter: l("")
|
|
654
|
-
})],
|
|
653
|
+
})], O.prototype, "valueText", void 0), i([o({
|
|
655
654
|
reflect: !0,
|
|
656
655
|
attribute: "value-format",
|
|
657
656
|
converter: l("percentage")
|
|
658
|
-
})],
|
|
657
|
+
})], O.prototype, "valueFormat", void 0), i([o({
|
|
659
658
|
reflect: !0,
|
|
660
659
|
attribute: "value-display",
|
|
661
660
|
converter: l("tooltip")
|
|
662
|
-
})],
|
|
661
|
+
})], O.prototype, "valueDisplay", void 0), i([o({
|
|
663
662
|
type: Boolean,
|
|
664
663
|
reflect: !0
|
|
665
|
-
})],
|
|
664
|
+
})], O.prototype, "indeterminate", void 0), i([o({
|
|
666
665
|
type: Number,
|
|
667
666
|
reflect: !0
|
|
668
|
-
})],
|
|
667
|
+
})], O.prototype, "value", void 0), i([o({
|
|
669
668
|
reflect: !0,
|
|
670
669
|
converter: l(100)
|
|
671
|
-
})],
|
|
672
|
-
export {
|
|
670
|
+
})], O.prototype, "max", void 0), i([a()], O.prototype, "_segmentIndicators", void 0), i([a()], O.prototype, "_indeterminateExiting", void 0), i([a()], O.prototype, "_indeterminateEntering", void 0), i([a()], O.prototype, "_arcsAtZero", void 0), O = T = i([c("nldd-progress-circle")], O);
|
|
671
|
+
export { E as INDETERMINATE_TRANSITION_MS, O as NLDDProgressCircle, D as NLDDProgressCircleSegmentIndicator };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, t as r } from "./decorate-
|
|
3
|
-
import { r as i, s as a } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-CIC8fGPN.js";
|
|
3
|
+
import { r as i, s as a } from "./custom-element-7tLnKgZE.js";
|
|
4
4
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { t as s } from "./form-associated-mixin-
|
|
6
|
-
import { t as c } from "./described-by-mixin-
|
|
5
|
+
import { t as s } from "./form-associated-mixin-9cC5HSCG.js";
|
|
6
|
+
import { t as c } from "./described-by-mixin-DSeADwWP.js";
|
|
7
7
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
8
|
import { t as u } from "./after-parse-BSKUm67Q.js";
|
|
9
9
|
import { t as d } from "./radio-position-CXWYAjaz.js";
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { n as i, r as a, s as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CIC8fGPN.js";
|
|
2
|
+
import { n as i, r as a, s as o } from "./custom-element-7tLnKgZE.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { t as c } from "./form-associated-mixin-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { t as f } from "./
|
|
9
|
-
import { t as p } from "./
|
|
10
|
-
import { t as m } from "./
|
|
11
|
-
import { t as h } from "./
|
|
12
|
-
import { t as g } from "./
|
|
4
|
+
import { t as c } from "./form-associated-mixin-9cC5HSCG.js";
|
|
5
|
+
import { o as l } from "./text-wrap-DJ9PcwZ4.js";
|
|
6
|
+
import { t as u } from "./shadow-resets-kAFcguCG.js";
|
|
7
|
+
import { n as d } from "./radio-button-B45WY4fZ.js";
|
|
8
|
+
import { t as f } from "./described-by-mixin-DSeADwWP.js";
|
|
9
|
+
import { t as p } from "./reflect-non-default-Bu3rpCvg.js";
|
|
10
|
+
import { t as m } from "./choice-group-AZsqoheP.js";
|
|
11
|
+
import { t as h } from "./owned-attribute-x9OCTy_4.js";
|
|
12
|
+
import { t as g } from "./implicit-submission-Csbcor_E.js";
|
|
13
|
+
import { t as _ } from "./input-modality-XE0B7yCn.js";
|
|
13
14
|
// src/components/inputs/radio-button-field/radio-button-field.styles.ts
|
|
14
|
-
var
|
|
15
|
+
var v = o`
|
|
15
16
|
:host {
|
|
16
17
|
box-sizing: border-box;
|
|
17
18
|
}
|
|
@@ -20,7 +21,7 @@ var _ = o`
|
|
|
20
21
|
/* # Host */
|
|
21
22
|
|
|
22
23
|
:host {
|
|
23
|
-
${
|
|
24
|
+
${u}
|
|
24
25
|
display: block;
|
|
25
26
|
position: relative;
|
|
26
27
|
cursor: default;
|
|
@@ -65,13 +66,15 @@ var _ = o`
|
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
.radio-button-field__label {
|
|
68
|
-
display:
|
|
69
|
+
display: block;
|
|
70
|
+
min-width: 0;
|
|
69
71
|
cursor: default;
|
|
70
72
|
padding-top: calc((var(--semantics-controls-md-min-size) - 1em * var(--primitives-line-height-snug)) / 2);
|
|
71
73
|
flex-grow: 1;
|
|
72
74
|
--context-content-color: var(--semantics-content-color);
|
|
73
75
|
color: var(--semantics-content-color);
|
|
74
76
|
font: var(--primitives-font-body-md-regular-snug);
|
|
77
|
+
${l}
|
|
75
78
|
text-wrap: pretty;
|
|
76
79
|
}
|
|
77
80
|
|
|
@@ -80,7 +83,7 @@ var _ = o`
|
|
|
80
83
|
}
|
|
81
84
|
`;
|
|
82
85
|
// src/components/inputs/radio-button-field/radio-button-field.template.ts
|
|
83
|
-
function
|
|
86
|
+
function y(e) {
|
|
84
87
|
return t`
|
|
85
88
|
<div class="radio-button-field">
|
|
86
89
|
<input class="radio-button-field__validation-input"
|
|
@@ -107,23 +110,23 @@ function v(e) {
|
|
|
107
110
|
`;
|
|
108
111
|
}
|
|
109
112
|
// src/components/inputs/radio-button-field/radio-button-field.ts
|
|
110
|
-
var
|
|
113
|
+
var b = class extends f(c(e)) {
|
|
111
114
|
constructor(...e) {
|
|
112
|
-
super(...e), this.color = "", this.label = "", this.checked = !1, this.invalid = !1, this.name = "", this.value = "", this.required = !1, this.disabled = !1, this._groupPosition = null, this._groupHasSelection = !1, this._grouping = new
|
|
115
|
+
super(...e), this.color = "", this.label = "", this.checked = !1, this.invalid = !1, this.name = "", this.value = "", this.required = !1, this.disabled = !1, this._groupPosition = null, this._groupHasSelection = !1, this._grouping = new d(this), this._appliedLabel = null, this._focusRing = !1, this._onClick = () => {
|
|
113
116
|
this.select();
|
|
114
117
|
}, this._onFocus = () => {
|
|
115
|
-
this._focusRing =
|
|
118
|
+
this._focusRing = _();
|
|
116
119
|
}, this._onBlur = () => {
|
|
117
120
|
this._focusRing = !1;
|
|
118
121
|
}, this._onKeyDown = (e) => {
|
|
119
|
-
this.disabled || (e.key === " " ? (e.preventDefault(), this.select()) : e.key === "Enter" ?
|
|
122
|
+
this.disabled || (e.key === " " ? (e.preventDefault(), this.select()) : e.key === "Enter" ? g(this, e) : this._groupPosition || this._grouping.moveWithArrow(e));
|
|
120
123
|
};
|
|
121
124
|
}
|
|
122
125
|
get _position() {
|
|
123
126
|
return this._groupPosition ?? this._grouping.position;
|
|
124
127
|
}
|
|
125
128
|
get _answered() {
|
|
126
|
-
return
|
|
129
|
+
return m.of(this) ? this._groupHasSelection : this._grouping.answered;
|
|
127
130
|
}
|
|
128
131
|
connectedCallback() {
|
|
129
132
|
super.connectedCallback(), this.addEventListener("click", this._onClick), this.addEventListener("keydown", this._onKeyDown), this.addEventListener("focus", this._onFocus), this.addEventListener("blur", this._onBlur);
|
|
@@ -133,13 +136,13 @@ var y = class extends d(c(e)) {
|
|
|
133
136
|
}
|
|
134
137
|
willUpdate(e) {
|
|
135
138
|
let t = !this.hasUpdated;
|
|
136
|
-
e.has("checked") && this.checked && this._grouping.uncheckOthers(t), e.has("name") ? this._grouping.regroup(t) : (e.has("checked") || e.has("disabled")) && this._grouping.refresh(), this.hasUpdated && (e.has("checked") || e.has("disabled")) &&
|
|
139
|
+
e.has("checked") && this.checked && this._grouping.uncheckOthers(t), e.has("name") ? this._grouping.regroup(t) : (e.has("checked") || e.has("disabled")) && this._grouping.refresh(), this.hasUpdated && (e.has("checked") || e.has("disabled")) && m.of(this)?.optionChanged(this);
|
|
137
140
|
}
|
|
138
141
|
updated(e) {
|
|
139
142
|
super.updated(e), this._syncHostAria();
|
|
140
143
|
}
|
|
141
144
|
_syncHostAria() {
|
|
142
|
-
this.setAttribute("role", "radio"), this.setAttribute("aria-checked", String(this.checked)), this._appliedLabel =
|
|
145
|
+
this.setAttribute("role", "radio"), this.setAttribute("aria-checked", String(this.checked)), this._appliedLabel = h(this, "aria-label", this.label, this._appliedLabel), this.disabled ? this.setAttribute("aria-disabled", "true") : this.removeAttribute("aria-disabled");
|
|
143
146
|
let e = this._position;
|
|
144
147
|
e ? (this.setAttribute("aria-posinset", String(e.posInSet)), this.setAttribute("aria-setsize", String(e.setSize))) : (this.removeAttribute("aria-posinset"), this.removeAttribute("aria-setsize"));
|
|
145
148
|
let t = !this.disabled && e?.tabbable !== !1;
|
|
@@ -162,26 +165,26 @@ var y = class extends d(c(e)) {
|
|
|
162
165
|
return this;
|
|
163
166
|
}
|
|
164
167
|
render() {
|
|
165
|
-
return
|
|
168
|
+
return y(this);
|
|
166
169
|
}
|
|
167
|
-
},
|
|
170
|
+
}, x = (b.styles = v, b.formProperties = ["checked"], b.isFormInput = !0, b);
|
|
168
171
|
r([a({
|
|
169
172
|
reflect: !0,
|
|
170
|
-
converter:
|
|
171
|
-
})],
|
|
173
|
+
converter: p("")
|
|
174
|
+
})], x.prototype, "color", void 0), r([a({ type: String })], x.prototype, "label", void 0), r([a({
|
|
172
175
|
type: Boolean,
|
|
173
176
|
reflect: !0
|
|
174
|
-
})],
|
|
177
|
+
})], x.prototype, "checked", void 0), r([a({
|
|
175
178
|
type: Boolean,
|
|
176
179
|
reflect: !0
|
|
177
|
-
})],
|
|
180
|
+
})], x.prototype, "invalid", void 0), r([a({
|
|
178
181
|
reflect: !0,
|
|
179
|
-
converter:
|
|
180
|
-
})],
|
|
182
|
+
converter: p("")
|
|
183
|
+
})], x.prototype, "name", void 0), r([a({ type: String })], x.prototype, "value", void 0), r([a({
|
|
181
184
|
type: Boolean,
|
|
182
185
|
reflect: !0
|
|
183
|
-
})],
|
|
186
|
+
})], x.prototype, "required", void 0), r([a({
|
|
184
187
|
type: Boolean,
|
|
185
188
|
reflect: !0
|
|
186
|
-
})],
|
|
187
|
-
export {
|
|
189
|
+
})], x.prototype, "disabled", void 0), r([i()], x.prototype, "_groupPosition", void 0), r([i()], x.prototype, "_groupHasSelection", void 0), r([i()], x.prototype, "_focusRing", void 0), x = r([s("nldd-radio-button-field")], x);
|
|
190
|
+
export { x as NLDDRadioButtonField };
|