@nldd/design-system 0.29.2 → 0.30.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/custom-elements.json +486 -214
- package/dist/assets/styles/shadow-resets.d.ts +22 -7
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +30 -1
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- package/dist/assets/styles/text-wrap.d.ts +20 -4
- package/dist/assets/styles/text-wrap.d.ts.map +1 -1
- package/dist/assets/styles/text-wrap.js +27 -5
- package/dist/assets/styles/text-wrap.js.map +1 -1
- package/dist/cdn/autoloader.js +139 -140
- package/dist/cdn/chunks/{accordion-BIgPiBgT.js → accordion-DgR70Lf-.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-YHiK4fhb.js → accordion-item-BDevWF9t.js} +6 -5
- package/dist/cdn/chunks/{activity-indicator-BiuU--e6.js → activity-indicator-B-iqA8XF.js} +6 -9
- package/dist/cdn/chunks/{admonition-CpxxWW6f.js → admonition-PKX7ePb3.js} +6 -5
- package/dist/cdn/chunks/{avatar-DeeEjbzl.js → avatar-Bm_cbn5X.js} +6 -6
- package/dist/cdn/chunks/{avatar-group-Ey17PhOt.js → avatar-group-5XxwtbbC.js} +15 -15
- package/dist/cdn/chunks/{badge-B0K1AVec.js → badge-CpxDQfHS.js} +31 -29
- package/dist/cdn/chunks/{banner-YQpzU7Yz.js → banner-Ccc9LgDk.js} +8 -8
- package/dist/cdn/chunks/{bar-split-view-DNWrGLv3.js → bar-split-view-0yxggCZe.js} +5 -5
- package/dist/cdn/chunks/{blockquote-zBgtNbdZ.js → blockquote-CmbDjlPB.js} +32 -31
- package/dist/cdn/chunks/{box-CLEd1Y-1.js → box-DQjgR2YI.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-DCwiSLxQ.js → breadcrumbs-C8yzb9pA.js} +6 -6
- package/dist/cdn/chunks/{button-DpSJe6ns.js → button-D_KfPyHS.js} +113 -90
- package/dist/cdn/chunks/{button-bar-Bw46AWOo.js → button-bar-f-qcw_zA.js} +3 -3
- package/dist/cdn/chunks/{button-group-Bd5CZm4t.js → button-group-Dq3q44jB.js} +2 -2
- package/dist/cdn/chunks/{card-xq9jqLek.js → card-CDT7nkKG.js} +4 -4
- package/dist/cdn/chunks/{cell-CNGu9Srs.js → cell-B7ksoCyd.js} +6 -6
- package/dist/cdn/chunks/{checkbox-DJU2ntYs.js → checkbox-CUReiYVg.js} +5 -5
- package/dist/cdn/chunks/{checkbox-field-36mh4uD-.js → checkbox-field-CkQ8WLSq.js} +8 -8
- package/dist/cdn/chunks/{checkbox-group-CaoyYQC1.js → checkbox-group-BpDzGuFk.js} +3 -3
- package/dist/cdn/chunks/{class-map-07EioFee.js → class-map-BQWXee9F.js} +1 -1
- package/dist/cdn/chunks/{code-editor-CqHXUdbC.js → code-editor-CwLcukqn.js} +15 -5
- package/dist/cdn/chunks/{code-viewer-ro55V04o.js → code-viewer-CvSF5fyg.js} +37 -10
- package/dist/cdn/chunks/{codemirror-input-D4u8naKh.js → codemirror-input-CcaHTu9u.js} +5 -5
- package/dist/cdn/chunks/{collection-DVED8Kff.js → collection-DqqkdrVS.js} +8 -8
- package/dist/cdn/chunks/{combo-box-CMdGMQ8q.js → combo-box-BQ9jS1fP.js} +19 -10
- package/dist/cdn/chunks/{container-BxfHTSXb.js → container-BC5PiMvR.js} +83 -82
- package/dist/cdn/chunks/{custom-element-7tLnKgZE.js → custom-element-DGdiDiuN.js} +1 -1
- package/dist/cdn/chunks/{date-field-KrAEvvJg.js → date-field-Dmli_GlI.js} +12 -12
- package/dist/cdn/chunks/{date-picker-CeyTd4Mj.js → date-picker-BCHBh6vd.js} +15 -17
- package/dist/cdn/chunks/{decorate-CIC8fGPN.js → decorate-D2snH_th.js} +1 -1
- package/dist/cdn/chunks/described-by-mixin-Doan1yj6.js +106 -0
- package/dist/cdn/chunks/{description-cell-DDjPf92m.js → description-cell-QL0CUcxH.js} +7 -7
- package/dist/cdn/chunks/{dev-checks-DE09CTk9.js → dev-checks-BQsZ10CZ.js} +41 -11
- package/dist/cdn/chunks/{directive-helpers-DUlH8eNt.js → directive-helpers-BtIbEaBv.js} +1 -1
- package/dist/cdn/chunks/{dist-DJ_2VKiG.js → dist-0sEOO4c9.js} +3 -3
- package/dist/cdn/chunks/{dist-CanlbdZP.js → dist-BX-aE56q.js} +1 -1
- package/dist/cdn/chunks/{dist-Cku1NQ9X.js → dist-CJ-hLN4o.js} +2 -2
- package/dist/cdn/chunks/{dist-DuaPU_hA.js → dist-CUCs0edm.js} +2 -2
- package/dist/cdn/chunks/{dist-BV06hHwA.js → dist-CeovKDYB.js} +3 -3
- package/dist/cdn/chunks/{dist-Dpc1YfbE.js → dist-CoM5yDHD.js} +1 -1
- package/dist/cdn/chunks/{dist-DtpgX9L8.js → dist-DM49yEzE.js} +2 -2
- package/dist/cdn/chunks/{dist-3XSbEdbz.js → dist-DizTxYTi.js} +1 -1
- package/dist/cdn/chunks/{dist-lUsXGXhR.js → dist-Dj0pXI2B.js} +1 -1
- package/dist/cdn/chunks/{dist-DsE-63gX.js → dist-Dtn2rsM6.js} +1 -1
- package/dist/cdn/chunks/{dist-CLyXDlop.js → dist-QheJD595.js} +1 -1
- package/dist/cdn/chunks/{divider-BixGehzs.js → divider-D8o0JPE2.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-BlP7NEb9.js → document-tab-bar-BX6UhFBl.js} +10 -13
- package/dist/cdn/chunks/{dropdown-DpCdMFod.js → dropdown-afozwXVW.js} +5 -5
- package/dist/cdn/chunks/{file-field-CYjsw4xy.js → file-field-BKhUYcHf.js} +109 -106
- package/dist/cdn/chunks/{form-DDB03czp.js → form-DnZIiX9b.js} +1 -1
- package/dist/cdn/chunks/{form-actions-DZgcVawx.js → form-actions-Ddg9vIVq.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-9cC5HSCG.js → form-associated-mixin-BMQQpMlL.js} +2 -2
- package/dist/cdn/chunks/form-field-DDBYuAl_.js +405 -0
- package/dist/cdn/chunks/form-field.i18n-D-3yEP-C.js +6 -0
- package/dist/cdn/chunks/form-section-Co0TM35-.js +78 -0
- package/dist/cdn/chunks/{full-bleed-section-enjghRsm.js → full-bleed-section-DD8ibmsa.js} +3 -3
- package/dist/cdn/chunks/{hero-AHBPM3ks.js → hero-BYrY2MZc.js} +7 -7
- package/dist/cdn/chunks/{icon-C_xeQP4j.js → icon-BzeHXcdi.js} +26 -9
- package/dist/cdn/chunks/{icon-button-CkNgX7Ra.js → icon-button-BErQf42w.js} +65 -62
- package/dist/cdn/chunks/{icon-cell-qieQ2vyq.js → icon-cell-DGIMXKxK.js} +5 -5
- package/dist/cdn/chunks/{identity-CnYwgyF7.js → identity-Cq-WnU6u.js} +30 -27
- package/dist/cdn/chunks/{if-defined-BG5WQE1B.js → if-defined-CuY6t6gH.js} +1 -1
- package/dist/cdn/chunks/{image--K2M19ce.js → image-BjjyqV0V.js} +23 -22
- package/dist/cdn/chunks/{inline-dialog-CfiC1tbk.js → inline-dialog-Bk2G7f5r.js} +24 -23
- package/dist/cdn/chunks/{just-in-time-education-Dxca2LqF.js → just-in-time-education-Dxh5DNCy.js} +5 -5
- package/dist/cdn/chunks/{kanban-Dwb93dgS.js → kanban-BvmtB9D9.js} +7 -8
- package/dist/cdn/chunks/{kanban-column-Br4GovWU.js → kanban-column-CJ2g7pgA.js} +9 -11
- package/dist/cdn/chunks/{keyboard-shortcut-a-CkABX1.js → keyboard-shortcut-BV5DFQtT.js} +3 -3
- package/dist/cdn/chunks/{languages-BrBEUYzL.js → languages-DJjHEjGl.js} +1603 -1602
- package/dist/cdn/chunks/{link-CROYAF4K.js → link-BcukwT5Y.js} +6 -6
- package/dist/cdn/chunks/{link-group-pbOW9KCb.js → link-group-Ci1q3uEd.js} +2 -2
- package/dist/cdn/chunks/{list-D_BWUBh4.js → list-CFFHWUSC.js} +9 -9
- package/dist/cdn/chunks/{list-item-DeFrncLo.js → list-item-Bg1NyOXd.js} +12 -13
- package/dist/cdn/chunks/{list-item-segment-C1X5v2_Z.js → list-item-segment-DJ8pk08-.js} +4 -4
- package/dist/cdn/chunks/{menu-CkMJUE0H.js → menu-BEjqhn1-.js} +10 -10
- package/dist/cdn/chunks/{menu-bar-B3F-QjLV.js → menu-bar-DkjXy-TE.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-item-CyixR7Fi.js → menu-bar-item-3cJS29Ey.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-uBPiSPsv.js → menu-divider-CYmEimsb.js} +3 -3
- package/dist/cdn/chunks/{menu-group-BXS5r-lc.js → menu-group-ggwAcgis.js} +4 -4
- package/dist/cdn/chunks/{menu-item-CORxUt3u.js → menu-item-BzH9H87h.js} +4 -4
- package/dist/cdn/chunks/{menu.template-NyA_JtUm.js → menu.template-PG82-P20.js} +6 -6
- package/dist/cdn/chunks/{modal-dialog-Dt5uenA0.js → modal-dialog-Bu7ETELf.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-CkCvyJov.js → multi-line-text-field-CQTKNBN7.js} +6 -6
- package/dist/cdn/chunks/{navigation-split-view-Clp3Camr.js → navigation-split-view-elMoUjHh.js} +13 -15
- package/dist/cdn/chunks/{nl.generated-B194RR-y.js → nl.generated-Lu29XEF3.js} +1 -1
- package/dist/cdn/chunks/{notification-B36JO2cS.js → notification-DCjXGfbY.js} +7 -7
- package/dist/cdn/chunks/{number-field-Cjrwd3G0.js → number-field-BUQUcG--.js} +8 -8
- package/dist/cdn/chunks/{one-half-one-half-section-Bc4rFjtM.js → one-half-one-half-section-DiGkeUVr.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-DikIdU3X.js → one-third-two-thirds-section-q_AP4qIJ.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-CqNmLld4.js → one-time-code-field-BybS_l6h.js} +9 -10
- package/dist/cdn/chunks/{overflow-menu-6tdlRjhY.js → overflow-menu-Duey_XJs.js} +1 -1
- package/dist/cdn/chunks/{page-CpdGz0K6.js → page-BrIeWp1b.js} +112 -46
- package/dist/cdn/chunks/{page-footer-_W5dGcQt.js → page-footer-DPQg9Qbw.js} +5 -5
- package/dist/cdn/chunks/{page-section-mixin-DSdHIkwR.js → page-section-mixin-B8FbeXaK.js} +3 -3
- package/dist/cdn/chunks/{pagination-DJqmp7nt.js → pagination-CfLJwflH.js} +37 -36
- package/dist/cdn/chunks/{password-field-JKBHK_MQ.js → password-field-CmoopbNF.js} +36 -35
- package/dist/cdn/chunks/{popover-LljgfgHS.js → popover-CPAR4N_a.js} +5 -5
- package/dist/cdn/chunks/{progress-bar-fILD82bn.js → progress-bar-vKGXvxfe.js} +10 -11
- package/dist/cdn/chunks/{progress-circle-72YbT9v1.js → progress-circle-dweisHzt.js} +8 -8
- package/dist/cdn/chunks/{radio-button-B45WY4fZ.js → radio-button-DE1K49_2.js} +4 -4
- package/dist/cdn/chunks/{radio-button-field-CG2ljZ-j.js → radio-button-field-DCrWiVoA.js} +7 -7
- package/dist/cdn/chunks/{radio-button-group-DgQHIiXR.js → radio-button-group-oLP_1cGy.js} +3 -3
- package/dist/cdn/chunks/{render-marked-vXU387IN.js → render-marked-BE3kBc1D.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-Bc0LM08A.js → reorder-handle-cell-COCN6knt.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-DIkeFpRU.js → reorder-handle-mixin-CG-KhmuT.js} +2 -2
- package/dist/cdn/chunks/{repeat-Cy1a-r4p.js → repeat-D69H_dsv.js} +2 -2
- package/dist/cdn/chunks/{rich-text-BZ6J0VNi.js → rich-text-jEyIU58i.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-CnCxMteQ.js → row-header-mixin-BejxhOCs.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-BoXGZJeO.js → scroll-fade-Cae9xqXr.js} +2 -2
- package/dist/cdn/chunks/{search-field-BaPPorsw.js → search-field-B8woxFh-.js} +40 -37
- package/dist/cdn/chunks/{segmented-control-CY7eFebV.js → segmented-control-DbOi6Wk6.js} +7 -7
- package/dist/cdn/chunks/{shadow-resets-kAFcguCG.js → shadow-resets-CNmJbdJw.js} +26 -11
- package/dist/cdn/chunks/{sheet-EvUuqzd5.js → sheet-bK663_K4.js} +4 -4
- package/dist/cdn/chunks/{shell-ZiZriusi.js → shell-DLu1fHOH.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-qj871uv2.js → side-by-side-split-view-vNhUmTiE.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-C2KLgpwu.js → sidebar-section-CoE5F_h5.js} +8 -8
- package/dist/cdn/chunks/{simple-section-CVQRynxS.js → simple-section-1v7a_ZgI.js} +3 -3
- package/dist/cdn/chunks/{skip-link-CpxEwJKH.js → skip-link-C6B6mMkA.js} +5 -5
- package/dist/cdn/chunks/{slider-DHY89yV6.js → slider-BT-q6SP2.js} +12 -16
- package/dist/cdn/chunks/{spacer-BDRDeRQr.js → spacer-DlFn3NtV.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-DvUxqmbS.js → spacer-cell-Dy_twSDQ.js} +4 -4
- package/dist/cdn/chunks/{split-button-DGzX2W4w.js → split-button-URHM5eTx.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-BQdN8I8c.js → split-view-divider-DeLyeDBx.js} +2 -2
- package/dist/cdn/chunks/{stacked-split-view-CdXyXpzb.js → stacked-split-view-D0kiQJmL.js} +4 -4
- package/dist/cdn/chunks/{static-html-ooiG7-by.js → static-html-CAKb1-Ht.js} +1 -1
- package/dist/cdn/chunks/{status-bar-S5IvBhAD.js → status-bar-Bov-LrPy.js} +4 -4
- package/dist/cdn/chunks/{step-bar-pkYf_gF8.js → step-bar-BLtsl_S_.js} +6 -6
- package/dist/cdn/chunks/{step-cell-3yG-UCmv.js → step-cell-cxM7vhtH.js} +5 -5
- package/dist/cdn/chunks/{stepper-DIufBp3c.js → stepper-DeIcLT7G.js} +7 -7
- package/dist/cdn/chunks/{style-map-DP8rklU9.js → style-map-CQX4CmTz.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-uyMsXHeI.js → swatch-picker-A7AU6Agu.js} +6 -6
- package/dist/cdn/chunks/{switch-DQ3UDIy5.js → switch-D0UPsKws.js} +5 -5
- package/dist/cdn/chunks/{switch-field-BXH62I0E.js → switch-field-D63lc5C0.js} +7 -7
- package/dist/cdn/chunks/{tab-bar-B2m7RGKe.js → tab-bar-CzGSRfKd.js} +8 -8
- package/dist/cdn/chunks/{table-Dtg4t_dM.js → table-DfunY2Dn.js} +5 -5
- package/dist/cdn/chunks/{tag-BdB8MDQQ.js → tag-DSWjjDBo.js} +5 -5
- package/dist/cdn/chunks/{term-DD2K8Qqb.js → term-Bk9cdlCz.js} +12 -12
- package/dist/cdn/chunks/{text-C8iP63bA.js → text-CDBiVulh.js} +4 -4
- package/dist/cdn/chunks/{text-cell-1pWwBLLI.js → text-cell-DUOJAXZo.js} +40 -37
- package/dist/cdn/chunks/{text-editor-DjNky4l-.js → text-editor-BIbYF0AB.js} +22 -12
- package/dist/cdn/chunks/{text-field-ClVrHYGz.js → text-field-CAnQNcXB.js} +6 -6
- package/dist/cdn/chunks/{text-wrap-DJ9PcwZ4.js → text-wrap-COu7AY91.js} +13 -5
- package/dist/cdn/chunks/{time-field-CrwLpzZp.js → time-field-xriXgFMl.js} +14 -14
- package/dist/cdn/chunks/{time-picker-BYhEzGJL.js → time-picker-D3_KbYUW.js} +6 -6
- package/dist/cdn/chunks/{title-DdqeERnM.js → title-HPn4c-s5.js} +5 -5
- package/dist/cdn/chunks/title-bar-label-controller-DHJwXI9W.js +27 -0
- package/dist/cdn/chunks/{title-cell-C4U3rN33.js → title-cell-BXMZkbXf.js} +51 -48
- package/dist/cdn/chunks/{toggle-button-CknaEM8j.js → toggle-button-DY22KEwY.js} +72 -56
- package/dist/cdn/chunks/{toggle-button-group-CxyhERqD.js → toggle-button-group-DsjZofEG.js} +2 -2
- package/dist/cdn/chunks/{token-I0vH42iy.js → token-DwT2i71b.js} +5 -5
- package/dist/cdn/chunks/{token-field-B1sAqN0B.js → token-field-CQxSARGi.js} +11 -11
- package/dist/cdn/chunks/{toolbar-DRIyU8-Z.js → toolbar-CaDvhCqm.js} +69 -68
- package/dist/cdn/chunks/{toolbar-item-D1JDaFal.js → toolbar-item-BDl4ys-w.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-D7CCOmDz.js → toolbar-title-yGR8Hzhp.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-CXjPigMk.js → toolbar.styles-DlyfZkRq.js} +3 -3
- package/dist/cdn/chunks/{tooltip-5clp5S3T.js → tooltip-BDiYghAz.js} +5 -5
- package/dist/cdn/chunks/{top-navigation-bar-CEuIAOoy.js → top-navigation-bar-ibsjezN_.js} +18 -18
- package/dist/cdn/chunks/{top-title-bar-M3NiRgr_.js → top-title-bar-BKdwEZfj.js} +15 -12
- package/dist/cdn/chunks/{two-thirds-one-third-section-BJGAw7Mq.js → two-thirds-one-third-section-DmumCsGo.js} +3 -3
- package/dist/cdn/chunks/{validation-list-CTb7X_Gq.js → validation-list-CXcJfvOJ.js} +61 -49
- package/dist/cdn/chunks/{visibility-mixin-BgnkZDZM.js → visibility-mixin-C7s59UlL.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-B4_jKNA7.js → visually-hidden-CMzKHcSc.js} +2 -2
- package/dist/cdn/chunks/{window-BmxrtW9P.js → window-CSNx5wt1.js} +5 -5
- package/dist/cdn/chunks/{with-translations-DSfo7eL-.js → with-translations-0oyNXfdD.js} +3 -3
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +26 -7
- 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 +7 -5
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +4 -2
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +4 -2
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +2 -1
- package/dist/components/actions/toolbar/toolbar.template.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 +1 -0
- package/dist/components/content/accordion/accordion-item.styles.js.map +1 -1
- package/dist/components/content/admonition/admonition.d.ts +1 -1
- package/dist/components/content/admonition/admonition.js +1 -1
- package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -1
- package/dist/components/content/admonition/admonition.styles.js +1 -0
- package/dist/components/content/admonition/admonition.styles.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.template.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.template.js +2 -1
- package/dist/components/content/blockquote/blockquote.template.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 +30 -3
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +10 -2
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-categories.d.ts.map +1 -1
- package/dist/components/content/icon/icon-categories.js +13 -0
- package/dist/components/content/icon/icon-categories.js.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.js +25 -52
- package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +19 -6
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/identity/identity.d.ts +8 -5
- package/dist/components/content/identity/identity.d.ts.map +1 -1
- package/dist/components/content/identity/identity.js +8 -5
- package/dist/components/content/identity/identity.js.map +1 -1
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
- package/dist/components/content/identity/identity.styles.js +4 -1
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/image/image.template.d.ts.map +1 -1
- package/dist/components/content/image/image.template.js +9 -8
- package/dist/components/content/image/image.template.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +4 -2
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +4 -2
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/text/text.d.ts +2 -0
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +2 -0
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +138 -73
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.i18n.d.ts +1 -0
- package/dist/components/forms/form-field/form-field.i18n.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.i18n.js +2 -0
- package/dist/components/forms/form-field/form-field.i18n.js.map +1 -1
- package/dist/components/forms/form-field/form-field.js +317 -149
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts +0 -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 +18 -97
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.template.d.ts +0 -2
- package/dist/components/forms/form-field/form-field.template.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.template.js +22 -15
- package/dist/components/forms/form-field/form-field.template.js.map +1 -1
- package/dist/components/forms/form-section/form-section.d.ts +40 -16
- package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
- package/dist/components/forms/form-section/form-section.js +47 -183
- package/dist/components/forms/form-section/form-section.js.map +1 -1
- package/dist/components/forms/form-section/form-section.styles.d.ts +2 -0
- package/dist/components/forms/form-section/form-section.styles.d.ts.map +1 -0
- package/dist/components/forms/form-section/form-section.styles.js +44 -0
- package/dist/components/forms/form-section/form-section.styles.js.map +1 -0
- package/dist/components/forms/form-section/form-section.template.d.ts +4 -0
- package/dist/components/forms/form-section/form-section.template.d.ts.map +1 -0
- package/dist/components/forms/form-section/form-section.template.js +19 -0
- package/dist/components/forms/form-section/form-section.template.js.map +1 -0
- package/dist/components/forms/validation-list/validation-list.d.ts +36 -6
- package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.js +75 -15
- package/dist/components/forms/validation-list/validation-list.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.template.d.ts +1 -1
- package/dist/components/forms/validation-list/validation-list.template.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.template.js +2 -2
- package/dist/components/forms/validation-list/validation-list.template.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 +10 -0
- package/dist/components/inputs/code-editor/code-editor.styles.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 +10 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.js +4 -6
- package/dist/components/inputs/date-picker/date-picker.template.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 +3 -2
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.js +9 -8
- package/dist/components/inputs/file-field/file-field.template.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.truncate.d.ts +4 -3
- package/dist/components/inputs/file-field/file-field.truncate.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.truncate.js +8 -5
- package/dist/components/inputs/file-field/file-field.truncate.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.js +2 -1
- package/dist/components/inputs/password-field/password-field.template.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +3 -0
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +7 -6
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/slider/slider.template.js +2 -2
- package/dist/components/inputs/slider/slider.template.js.map +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 -1
- 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 +10 -0
- package/dist/components/inputs/text-editor/text-editor.styles.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 +18 -3
- 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 +7 -3
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/layout/container/container.template.d.ts.map +1 -1
- package/dist/components/layout/container/container.template.js +2 -1
- package/dist/components/layout/container/container.template.js.map +1 -1
- package/dist/components/layout/kanban/kanban-column.template.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban-column.template.js +5 -7
- package/dist/components/layout/kanban/kanban-column.template.js.map +1 -1
- package/dist/components/layout/kanban/kanban.template.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.template.js +2 -3
- package/dist/components/layout/kanban/kanban.template.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +42 -0
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +108 -3
- 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 +5 -0
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page/page.template.d.ts.map +1 -1
- package/dist/components/layout/page/page.template.js +3 -2
- package/dist/components/layout/page/page.template.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +11 -0
- 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 +11 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts +3 -0
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +3 -0
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +2 -2
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js +2 -2
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts +3 -2
- 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 +3 -2
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +1 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +1 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +13 -13
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +13 -13
- 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 +4 -1
- 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 +8 -4
- 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 +8 -4
- 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 +4 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.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 +7 -8
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.js +3 -2
- package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +7 -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 +12 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.template.js +4 -4
- package/dist/components/navigation/top-title-bar/top-title-bar.template.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js +2 -3
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.template.js +3 -7
- package/dist/components/status-and-feedback/badge/badge.template.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js +3 -4
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js +2 -3
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js +1 -1
- package/dist/css/form.css +14 -0
- package/dist/css/global-open-font.css +0 -1
- package/dist/css/global.css +0 -1
- package/dist/css/rich-text.css +16 -4
- package/dist/css/text.css +3 -1
- package/dist/css/title.css +3 -1
- package/dist/css/variables.css +5 -0
- package/dist/nldd.min.js +1900 -1766
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +1 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +1 -0
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +1 -0
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +1 -0
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +1 -0
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +24 -27
- package/dist/types/vue.d.ts +84 -87
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +0 -1
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/codemirror/codemirror-element.d.ts +3 -2
- package/dist/utilities/codemirror/codemirror-element.d.ts.map +1 -1
- package/dist/utilities/codemirror/codemirror-element.js +6 -2
- package/dist/utilities/codemirror/codemirror-element.js.map +1 -1
- package/dist/utilities/described-by-mixin.d.ts +36 -1
- package/dist/utilities/described-by-mixin.d.ts.map +1 -1
- package/dist/utilities/described-by-mixin.js +132 -8
- package/dist/utilities/described-by-mixin.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +42 -13
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/file-name-breaks.d.ts +13 -0
- package/dist/utilities/file-name-breaks.d.ts.map +1 -0
- package/dist/utilities/file-name-breaks.js +27 -0
- package/dist/utilities/file-name-breaks.js.map +1 -0
- package/dist/utilities/same-items.d.ts +10 -0
- package/dist/utilities/same-items.d.ts.map +1 -0
- package/dist/utilities/same-items.js +14 -0
- package/dist/utilities/same-items.js.map +1 -0
- package/dist/utilities/title-bar-label-controller.d.ts +3 -0
- package/dist/utilities/title-bar-label-controller.d.ts.map +1 -1
- package/dist/utilities/title-bar-label-controller.js +19 -3
- package/dist/utilities/title-bar-label-controller.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +49 -6
- package/lint/rule-compiler.js +7 -3
- package/lint/rule.schema.json +12 -0
- package/package.json +3 -3
- package/dist/cdn/chunks/described-by-mixin-DSeADwWP.js +0 -62
- package/dist/cdn/chunks/form-field-CuTa78j4.js +0 -434
- package/dist/cdn/chunks/form-field.i18n-B-UZduXL.js +0 -3
- package/dist/cdn/chunks/form-section-J2if8kVt.js +0 -64
- package/dist/cdn/chunks/title-bar-label-controller-DSxdKZOg.js +0 -24
- package/dist/css/form-section.css +0 -104
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, r as n, t as r } from "./decorate-
|
|
3
|
-
import { n as i, r as a, s as o } from "./custom-element-
|
|
2
|
+
import { n as t, r as n, t as r } from "./decorate-D2snH_th.js";
|
|
3
|
+
import { n as i, r as a, s as o } from "./custom-element-DGdiDiuN.js";
|
|
4
4
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { a as c, i as l, o as u, r as d, s as f } from "./scroll-mode-controller-DlKGaDhM.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { r as g } from "./
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
6
|
+
import { o as p } from "./shadow-resets-CNmJbdJw.js";
|
|
7
|
+
import { t as m } from "./class-map-BQWXee9F.js";
|
|
8
|
+
import { r as h, t as g } from "./static-html-CAKb1-Ht.js";
|
|
9
|
+
import { r as _ } from "./element-state-D-J_cHEV.js";
|
|
10
|
+
import { t as v } from "./reflect-non-default-Bu3rpCvg.js";
|
|
11
|
+
import { n as y, t as b } from "./layout-pass-B2ALRYc9.js";
|
|
11
12
|
// src/components/layout/page/page.styles.ts
|
|
12
|
-
var
|
|
13
|
+
var x = o`
|
|
13
14
|
:host {
|
|
14
15
|
box-sizing: border-box;
|
|
15
16
|
}
|
|
@@ -124,6 +125,11 @@ var b = o`
|
|
|
124
125
|
flex-shrink: 0;
|
|
125
126
|
}
|
|
126
127
|
|
|
128
|
+
/* A split view hides the back button of a pane whose previous pane is in view; a step goes back to a page in the same pane. */
|
|
129
|
+
:host([parent]) .page__header {
|
|
130
|
+
--context-back-button-display: flex;
|
|
131
|
+
}
|
|
132
|
+
|
|
127
133
|
:host([sticky-header]) .page__header {
|
|
128
134
|
position: absolute;
|
|
129
135
|
top: 0;
|
|
@@ -265,13 +271,13 @@ var b = o`
|
|
|
265
271
|
}
|
|
266
272
|
`;
|
|
267
273
|
// src/components/layout/page/page.template.ts
|
|
268
|
-
function
|
|
269
|
-
let t = e._isRegion, r = t ?
|
|
270
|
-
return
|
|
274
|
+
function S(e) {
|
|
275
|
+
let t = e._isRegion, r = t ? g`section` : g`div`, i = t ? g`div` : g`main`, a = e.accessibleLabel.trim() || n;
|
|
276
|
+
return h`
|
|
271
277
|
<${r} class="page"
|
|
272
278
|
aria-label=${t ? a : n}
|
|
273
279
|
>
|
|
274
|
-
<header class="page__header ${
|
|
280
|
+
<header class="page__header ${m({ "is-scrolled": e._scrolled })}">
|
|
275
281
|
<slot name="header"></slot>
|
|
276
282
|
</header>
|
|
277
283
|
<div class="page__scroll">
|
|
@@ -280,7 +286,7 @@ function x(e) {
|
|
|
280
286
|
>
|
|
281
287
|
<slot></slot>
|
|
282
288
|
</${i}>
|
|
283
|
-
<footer class="page__footer ${
|
|
289
|
+
<footer class="page__footer ${m({ "is-at-end": e._atEnd })}">
|
|
284
290
|
<slot name="footer"></slot>
|
|
285
291
|
</footer>
|
|
286
292
|
</div>
|
|
@@ -288,38 +294,38 @@ function x(e) {
|
|
|
288
294
|
`;
|
|
289
295
|
}
|
|
290
296
|
// src/components/layout/page/page.ts
|
|
291
|
-
var
|
|
292
|
-
function
|
|
297
|
+
var C = /* @__PURE__ */ e({ NLDDPage: () => P }), w, T;
|
|
298
|
+
function E(e) {
|
|
293
299
|
let t = e.filter((e) => e.isConnected), n = t.filter((e) => e._insetsReady), r = n.map((e) => e._measureInsets());
|
|
294
300
|
n.forEach((e, t) => e._applyInsets(r[t]));
|
|
295
301
|
let i = t.map((e) => e._readScrollState());
|
|
296
302
|
t.forEach((e, t) => e._applyScrollState(i[t]));
|
|
297
303
|
}
|
|
298
|
-
var
|
|
299
|
-
function
|
|
304
|
+
var D = y(E), O = new b(E);
|
|
305
|
+
function k(e) {
|
|
300
306
|
return e.tabIndex < 0 || e.matches(":disabled") || e.localName === "a" && !e.hasAttribute("href") && !e.hasAttribute("tabindex") ? !1 : e.checkVisibility({ visibilityProperty: !0 });
|
|
301
307
|
}
|
|
302
|
-
function
|
|
308
|
+
function A(e) {
|
|
303
309
|
let t = (n) => {
|
|
304
|
-
for (let r of n.children) if (!(!(r instanceof HTMLElement) || r.hidden || r.inert) && (n !== e || r.slot !== "header") && (
|
|
310
|
+
for (let r of n.children) if (!(!(r instanceof HTMLElement) || r.hidden || r.inert) && (n !== e || r.slot !== "header") && (k(r) || r.shadowRoot && t(r.shadowRoot) || t(r))) return !0;
|
|
305
311
|
return !1;
|
|
306
312
|
};
|
|
307
313
|
return t(e);
|
|
308
314
|
}
|
|
309
|
-
var
|
|
315
|
+
var j = [
|
|
310
316
|
"nldd-sheet",
|
|
311
317
|
"nldd-modal-dialog",
|
|
312
318
|
"nldd-window",
|
|
313
319
|
"nldd-popover"
|
|
314
|
-
],
|
|
320
|
+
], M = [
|
|
315
321
|
"nldd-navigation-split-view",
|
|
316
322
|
"nldd-side-by-side-split-view",
|
|
317
323
|
"nldd-stacked-split-view"
|
|
318
|
-
],
|
|
324
|
+
], N = /* @__PURE__ */ new Set(), P = (w = class extends t {
|
|
319
325
|
constructor(...e) {
|
|
320
|
-
super(...e), this.background = "inherit", this.stickyHeader = !1, this.stickyFooter = !1, this.accessibleLabel = "", this.landmarks = "auto", this._scrolled = !1, this._atEnd = !0, this._derived = "page", this._renderedRegion = null, this._scrollMode = "nested", this._scrollTarget = null, this._scrollProvider = null, this._inOverlay = !1, this._insetsReady = !1, this._headerFullHeight = 0, this._mainSlot = null, this._mainAttrObserver = null, this._scrollConfigured = !1, this._adoptScrollProvider = (e) => {
|
|
326
|
+
super(...e), this.background = "inherit", this.stickyHeader = !1, this.stickyFooter = !1, this.accessibleLabel = "", this.landmarks = "auto", this.parent = "", this._scrolled = !1, this._atEnd = !0, this._derived = "page", this._renderedRegion = null, this._scrollMode = "nested", this._scrollTarget = null, this._scrollProvider = null, this._inOverlay = !1, this._insetsReady = !1, this._headerFullHeight = 0, this._mainSlot = null, this._mainAttrObserver = null, this._scrollConfigured = !1, this._adoptScrollProvider = (e) => {
|
|
321
327
|
this._scrollProvider || (u(this), this._scrollProvider = e, e.registerScrollConsumer(this), this.hasUpdated && this._configureScroll());
|
|
322
|
-
}, this._hostTabStop = !1, this._onScroll = () => {
|
|
328
|
+
}, this._stepObserver = null, this._hostTabStop = !1, this._onScroll = () => {
|
|
323
329
|
if (this._isRoot) {
|
|
324
330
|
let e = document.documentElement;
|
|
325
331
|
this._scrolled = window.scrollY > 0, this._atEnd = window.scrollY + window.innerHeight >= e.scrollHeight - 1;
|
|
@@ -340,7 +346,7 @@ var k = [
|
|
|
340
346
|
_deriveLandmarks() {
|
|
341
347
|
for (let e = this.parentElement; e; e = e.parentElement) {
|
|
342
348
|
let t = e.localName;
|
|
343
|
-
if (
|
|
349
|
+
if (j.includes(t) || M.includes(t)) {
|
|
344
350
|
this._derived = "region";
|
|
345
351
|
return;
|
|
346
352
|
}
|
|
@@ -349,8 +355,8 @@ var k = [
|
|
|
349
355
|
}
|
|
350
356
|
_syncSecondMain() {
|
|
351
357
|
if (!import.meta.env?.DEV) return;
|
|
352
|
-
let [, ...e] = [...
|
|
353
|
-
|
|
358
|
+
let [, ...e] = [...N].filter((e) => !e._isRegion);
|
|
359
|
+
_(this, "second-main", e.includes(this));
|
|
354
360
|
}
|
|
355
361
|
get _isRoot() {
|
|
356
362
|
return this._scrollMode === "root";
|
|
@@ -371,17 +377,74 @@ var k = [
|
|
|
371
377
|
return this.shadowRoot?.querySelector(".page__footer") ?? null;
|
|
372
378
|
}
|
|
373
379
|
connectedCallback() {
|
|
374
|
-
super.connectedCallback(), this._deriveLandmarks(),
|
|
380
|
+
super.connectedCallback(), this._deriveLandmarks(), N.add(this), this.style.containerType = "inline-size", this.style.containerName = "layout-container page-container", this._inOverlay = c(this), this._scrollProvider = l(this), this._scrollProvider ? (this._scrollProvider.registerScrollConsumer(this), this.hasUpdated && this._configureScroll()) : (this.hasUpdated && (this._scrollConfigured = !1, d(this, this.ownerDocument)), f(this, this._adoptScrollProvider)), this.hasUpdated && (this._setupMainSlotListener(), this._watchSteps());
|
|
375
381
|
}
|
|
376
382
|
disconnectedCallback() {
|
|
377
|
-
super.disconnectedCallback(),
|
|
383
|
+
super.disconnectedCallback(), N.delete(this), O.cancel(this), u(this), this._scrollProvider?.unregisterScrollConsumer(this), this._scrollProvider = null, this._teardownScrollListener(), this._teardownInsetObserver(), this._teardownMainSlotListener(), this._stepObserver?.disconnect(), this._stepObserver = null;
|
|
378
384
|
}
|
|
379
385
|
firstUpdated() {
|
|
380
|
-
this._scrollProvider ? this._configureScroll() : d(this, this.ownerDocument), this._setupMainSlotListener();
|
|
386
|
+
this._scrollProvider ? this._configureScroll() : d(this, this.ownerDocument), this._setupMainSlotListener(), this._watchSteps();
|
|
381
387
|
}
|
|
382
388
|
updated(e) {
|
|
383
389
|
let t = this._renderedRegion !== null && this._renderedRegion !== this._isRegion;
|
|
384
|
-
this._renderedRegion = this._isRegion, t && this._setupMainSlotListener(), (e.has("stickyHeader") || t && this._scrollConfigured) && this._configureScroll(), this._syncSecondMain();
|
|
390
|
+
if (this._renderedRegion = this._isRegion, t && this._setupMainSlotListener(), (e.has("stickyHeader") || t && this._scrollConfigured) && this._configureScroll(), this._syncSecondMain(), e.has("parent") && this._watchSteps(), e.has("accessibleLabel") && this.id) for (let e of this._siblingPages) e.parent === this.id && e._syncBackText();
|
|
391
|
+
}
|
|
392
|
+
get _siblingPages() {
|
|
393
|
+
let e = this.parentElement;
|
|
394
|
+
return e ? [...e.children].filter((e) => e instanceof T && e.slot === this.slot) : [this];
|
|
395
|
+
}
|
|
396
|
+
get _parentPage() {
|
|
397
|
+
return this.parent ? this._siblingPages.find((e) => e !== this && e.id === this.parent) ?? null : null;
|
|
398
|
+
}
|
|
399
|
+
get _titleBar() {
|
|
400
|
+
let e = this.querySelector(":scope > [slot=\"header\"]");
|
|
401
|
+
return e ? e.localName === "nldd-top-title-bar" ? e : e.querySelector("nldd-top-title-bar") : null;
|
|
402
|
+
}
|
|
403
|
+
get _title() {
|
|
404
|
+
let e = this._titleBar;
|
|
405
|
+
return e?.getAttribute("text") || e?.text || this.accessibleLabel;
|
|
406
|
+
}
|
|
407
|
+
_syncBackText() {
|
|
408
|
+
let e = this._titleBar;
|
|
409
|
+
e && (e._parentPageText = this._parentPage?._title ?? "");
|
|
410
|
+
}
|
|
411
|
+
_watchSteps() {
|
|
412
|
+
this._stepObserver?.disconnect(), this._stepObserver = null, this._syncBackText();
|
|
413
|
+
let e = this.parentElement;
|
|
414
|
+
if (!this.parent || !e) return;
|
|
415
|
+
let t = new MutationObserver(() => {
|
|
416
|
+
this._syncBackText(), n();
|
|
417
|
+
}), n = () => {
|
|
418
|
+
t.observe(e, {
|
|
419
|
+
childList: !0,
|
|
420
|
+
subtree: !1,
|
|
421
|
+
attributes: !0,
|
|
422
|
+
attributeFilter: [
|
|
423
|
+
"id",
|
|
424
|
+
"hidden",
|
|
425
|
+
"slot"
|
|
426
|
+
]
|
|
427
|
+
});
|
|
428
|
+
for (let e of this._siblingPages) {
|
|
429
|
+
t.observe(e, {
|
|
430
|
+
childList: !0,
|
|
431
|
+
attributes: !0,
|
|
432
|
+
attributeFilter: [
|
|
433
|
+
"id",
|
|
434
|
+
"hidden",
|
|
435
|
+
"slot",
|
|
436
|
+
"accessible-label"
|
|
437
|
+
]
|
|
438
|
+
});
|
|
439
|
+
for (let n of e.querySelectorAll(":scope > [slot=\"header\"]")) t.observe(n, {
|
|
440
|
+
childList: !0,
|
|
441
|
+
subtree: !0,
|
|
442
|
+
attributes: !0,
|
|
443
|
+
attributeFilter: ["text"]
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
};
|
|
447
|
+
this._stepObserver = t, n();
|
|
385
448
|
}
|
|
386
449
|
readScrollMode(e) {
|
|
387
450
|
(this._readScrollMode(e) || !this._scrollConfigured) && this._configureScroll();
|
|
@@ -394,15 +457,15 @@ var k = [
|
|
|
394
457
|
return getComputedStyle(this).getPropertyValue("--context-scroll-mode").trim() === "root" ? "root" : "nested";
|
|
395
458
|
}
|
|
396
459
|
_configureScroll() {
|
|
397
|
-
this._scrollConfigured = !0, this._teardownScrollListener(), this._setupScrollListener(), this._headerFullHeight = 0, this._setupInsetObserver(),
|
|
460
|
+
this._scrollConfigured = !0, this._teardownScrollListener(), this._setupScrollListener(), this._headerFullHeight = 0, this._setupInsetObserver(), O.schedule(this, this.ownerDocument);
|
|
398
461
|
}
|
|
399
462
|
_setupInsetObserver() {
|
|
400
463
|
this._teardownInsetObserver();
|
|
401
464
|
let e = this._headerEl, t = this._footerEl;
|
|
402
465
|
if (!e || !t) return;
|
|
403
|
-
this._insetsReady = !0,
|
|
466
|
+
this._insetsReady = !0, D.observe(e, this), D.observe(t, this), this._scrollEl && D.observe(this._scrollEl, this);
|
|
404
467
|
let n = this.shadowRoot?.querySelector(".page__main");
|
|
405
|
-
n &&
|
|
468
|
+
n && D.observe(n, this);
|
|
406
469
|
}
|
|
407
470
|
_measureInsets() {
|
|
408
471
|
let e = this._headerEl;
|
|
@@ -420,14 +483,14 @@ var k = [
|
|
|
420
483
|
_readScrollState() {
|
|
421
484
|
this._onScroll();
|
|
422
485
|
let e = this.stickyHeader ? this._scrollEl : this;
|
|
423
|
-
return { focusable: !!e && !this._isRoot && e.scrollHeight > e.clientHeight && !
|
|
486
|
+
return { focusable: !!e && !this._isRoot && e.scrollHeight > e.clientHeight && !A(this) };
|
|
424
487
|
}
|
|
425
488
|
_applyScrollState({ focusable: e }) {
|
|
426
489
|
let t = this._scrollEl, n = e && !this.stickyHeader;
|
|
427
490
|
t && (e && this.stickyHeader ? t.setAttribute("tabindex", "0") : t.removeAttribute("tabindex")), n && !this.hasAttribute("tabindex") ? (this.setAttribute("tabindex", "0"), this._hostTabStop = !0) : !n && this._hostTabStop && (this.removeAttribute("tabindex"), this._hostTabStop = !1);
|
|
428
491
|
}
|
|
429
492
|
_teardownInsetObserver() {
|
|
430
|
-
this._insetsReady = !1,
|
|
493
|
+
this._insetsReady = !1, D.unobserveAll(this);
|
|
431
494
|
}
|
|
432
495
|
_publish(e, t) {
|
|
433
496
|
this.style.getPropertyValue(e) !== t && this.style.setProperty(e, t);
|
|
@@ -462,25 +525,28 @@ var k = [
|
|
|
462
525
|
this._mainSlot && (this._mainSlot.removeEventListener("slotchange", this._updateMainItems), this._mainSlot = null), this._mainAttrObserver?.disconnect(), this._mainAttrObserver = null;
|
|
463
526
|
}
|
|
464
527
|
render() {
|
|
465
|
-
return
|
|
528
|
+
return S(this);
|
|
466
529
|
}
|
|
467
|
-
},
|
|
530
|
+
}, T = w, w.styles = x, w);
|
|
468
531
|
r([a({
|
|
469
532
|
reflect: !0,
|
|
470
|
-
converter:
|
|
471
|
-
})],
|
|
533
|
+
converter: v("inherit")
|
|
534
|
+
})], P.prototype, "background", void 0), r([a({
|
|
472
535
|
type: Boolean,
|
|
473
536
|
reflect: !0,
|
|
474
537
|
attribute: "sticky-header"
|
|
475
|
-
})],
|
|
538
|
+
})], P.prototype, "stickyHeader", void 0), r([a({
|
|
476
539
|
type: Boolean,
|
|
477
540
|
reflect: !0,
|
|
478
541
|
attribute: "sticky-footer"
|
|
479
|
-
})],
|
|
542
|
+
})], P.prototype, "stickyFooter", void 0), r([a({
|
|
480
543
|
type: String,
|
|
481
544
|
attribute: "accessible-label"
|
|
482
|
-
})],
|
|
545
|
+
})], P.prototype, "accessibleLabel", void 0), r([a({
|
|
546
|
+
reflect: !0,
|
|
547
|
+
converter: v("auto")
|
|
548
|
+
})], P.prototype, "landmarks", void 0), r([a({
|
|
483
549
|
reflect: !0,
|
|
484
|
-
converter:
|
|
485
|
-
})],
|
|
486
|
-
export {
|
|
550
|
+
converter: v("")
|
|
551
|
+
})], P.prototype, "parent", void 0), r([i()], P.prototype, "_scrolled", void 0), r([i()], P.prototype, "_atEnd", void 0), r([i()], P.prototype, "_derived", void 0), P = T = r([s("nldd-page")], P);
|
|
552
|
+
export { C as t };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { c as i, n as a, r as o, s } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-D2snH_th.js";
|
|
2
|
+
import { c as i, n as a, r as o, s } from "./custom-element-DGdiDiuN.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as l } from "./slot-content-2qH2vEC_.js";
|
|
5
5
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { o as d } from "./text-wrap-
|
|
6
|
+
import { o as d } from "./text-wrap-COu7AY91.js";
|
|
7
7
|
import { n as f } from "./breakpoints-Cwor8TRP.js";
|
|
8
|
-
import {
|
|
8
|
+
import { o as p, t as m } from "./shadow-resets-CNmJbdJw.js";
|
|
9
9
|
import { t as h } from "./page-footer.i18n-pbdr4lN3.js";
|
|
10
|
-
import { t as g } from "./with-translations-
|
|
10
|
+
import { t as g } from "./with-translations-0oyNXfdD.js";
|
|
11
11
|
import { r as _ } from "./element-state-D-J_cHEV.js";
|
|
12
12
|
import { t as v } from "./list-items-Du0RCWsY.js";
|
|
13
13
|
// src/components/layout/page-footer/page-footer.styles.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as e, s as t } from "./custom-element-
|
|
2
|
-
import {
|
|
3
|
-
import { t as r } from "./decorate-
|
|
1
|
+
import { r as e, s as t } from "./custom-element-DGdiDiuN.js";
|
|
2
|
+
import { o as n } from "./shadow-resets-CNmJbdJw.js";
|
|
3
|
+
import { t as r } from "./decorate-D2snH_th.js";
|
|
4
4
|
import { t as i } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
5
|
// src/utilities/page-section-mixin.ts
|
|
6
6
|
var a = t`
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { r as i, s as a } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-D2snH_th.js";
|
|
2
|
+
import { r as i, s as a } from "./custom-element-DGdiDiuN.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { t as s } from "./shadow-resets-
|
|
5
|
-
import "./
|
|
6
|
-
import "./icon-
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { t as d } from "./
|
|
4
|
+
import { t as s } from "./shadow-resets-CNmJbdJw.js";
|
|
5
|
+
import { t as c } from "./class-map-BQWXee9F.js";
|
|
6
|
+
import "./icon-button-BErQf42w.js";
|
|
7
|
+
import "./icon-BzeHXcdi.js";
|
|
8
|
+
import { t as l } from "./pagination.i18n-QQMx14CQ.js";
|
|
9
|
+
import { n as u } from "./input-modality-XE0B7yCn.js";
|
|
10
|
+
import { t as d } from "./with-translations-0oyNXfdD.js";
|
|
11
|
+
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
11
12
|
// src/components/navigation/pagination/pagination.styles.ts
|
|
12
|
-
var
|
|
13
|
+
var p = a`
|
|
13
14
|
:host {
|
|
14
15
|
box-sizing: border-box;
|
|
15
16
|
}
|
|
@@ -306,16 +307,16 @@ var f = a`
|
|
|
306
307
|
}
|
|
307
308
|
`;
|
|
308
309
|
// src/components/navigation/pagination/pagination.template.ts
|
|
309
|
-
function
|
|
310
|
-
let r = e._getVisiblePages(), i = e.current <= 1, a = e.current >= e.total, o = e._t.bind(e), s = !!e.hrefPattern,
|
|
310
|
+
function m(e) {
|
|
311
|
+
let r = e._getVisiblePages(), i = e.current <= 1, a = e.current >= e.total, o = e._t.bind(e), s = !!e.hrefPattern, l = e.disabled, u = (r) => {
|
|
311
312
|
let i = r === e.current, a = o("components.pagination.go-to-page-action", { page: r });
|
|
312
313
|
return s ? t`
|
|
313
|
-
<a class="pagination__page-button ${
|
|
314
|
-
href=${
|
|
314
|
+
<a class="pagination__page-button ${c({ "is-current": i })}"
|
|
315
|
+
href=${l ? n : e._hrefForPage(r)}
|
|
315
316
|
aria-label=${a}
|
|
316
317
|
aria-current=${i ? "page" : n}
|
|
317
|
-
tabindex=${
|
|
318
|
-
aria-disabled=${
|
|
318
|
+
tabindex=${l ? -1 : n}
|
|
319
|
+
aria-disabled=${l ? "true" : n}
|
|
319
320
|
@click=${(t) => {
|
|
320
321
|
t.preventDefault(), e._goToPage(r);
|
|
321
322
|
}}
|
|
@@ -323,11 +324,11 @@ function p(e) {
|
|
|
323
324
|
<span class="pagination__page-button-text">${r}</span>
|
|
324
325
|
</a>
|
|
325
326
|
` : t`
|
|
326
|
-
<button class="pagination__page-button ${
|
|
327
|
+
<button class="pagination__page-button ${c({ "is-current": i })}"
|
|
327
328
|
type="button"
|
|
328
329
|
aria-label=${a}
|
|
329
330
|
aria-current=${i ? "page" : n}
|
|
330
|
-
?disabled=${
|
|
331
|
+
?disabled=${l}
|
|
331
332
|
@click=${() => e._goToPage(r)}
|
|
332
333
|
>
|
|
333
334
|
<span class="pagination__page-button-text">${r}</span>
|
|
@@ -344,8 +345,8 @@ function p(e) {
|
|
|
344
345
|
text=${o("components.pagination.go-to-previous-page-action")}
|
|
345
346
|
appearance="neutral-tinted"
|
|
346
347
|
.noHighlightBorder=${!0}
|
|
347
|
-
?disabled=${
|
|
348
|
-
href=${s && !
|
|
348
|
+
?disabled=${l || i}
|
|
349
|
+
href=${s && !l && !i ? e._hrefForPage(e.current - 1) : n}
|
|
349
350
|
@click=${(t) => {
|
|
350
351
|
s && t.preventDefault(), e._goToPage(e.current - 1);
|
|
351
352
|
}}
|
|
@@ -359,13 +360,13 @@ function p(e) {
|
|
|
359
360
|
<div class="pagination__page-buttons">
|
|
360
361
|
${r.map((e) => e === "ellipsis" ? t`<div class="pagination__ellipsis"
|
|
361
362
|
aria-hidden="true"
|
|
362
|
-
>…</div>` :
|
|
363
|
+
>…</div>` : u(e))}
|
|
363
364
|
</div>
|
|
364
365
|
<div class="pagination__compact">
|
|
365
366
|
<div class="pagination__select-wrapper">
|
|
366
367
|
<select class="pagination__select"
|
|
367
368
|
aria-label=${o("components.pagination.go-to-page-label")}
|
|
368
|
-
?disabled=${
|
|
369
|
+
?disabled=${l}
|
|
369
370
|
@change=${(t) => e._goToPage(Number(t.target.value))}
|
|
370
371
|
@focus=${e._handleSelectFocus}
|
|
371
372
|
@blur=${e._handleSelectBlur}
|
|
@@ -392,8 +393,8 @@ function p(e) {
|
|
|
392
393
|
text=${o("components.pagination.go-to-next-page-action")}
|
|
393
394
|
appearance="neutral-tinted"
|
|
394
395
|
.noHighlightBorder=${!0}
|
|
395
|
-
?disabled=${
|
|
396
|
-
href=${s && !
|
|
396
|
+
?disabled=${l || a}
|
|
397
|
+
href=${s && !l && !a ? e._hrefForPage(e.current + 1) : n}
|
|
397
398
|
@click=${(t) => {
|
|
398
399
|
s && t.preventDefault(), e._goToPage(e.current + 1);
|
|
399
400
|
}}
|
|
@@ -403,10 +404,10 @@ function p(e) {
|
|
|
403
404
|
`;
|
|
404
405
|
}
|
|
405
406
|
// src/components/navigation/pagination/pagination.ts
|
|
406
|
-
var
|
|
407
|
+
var h = class extends d(e, l) {
|
|
407
408
|
constructor(...e) {
|
|
408
409
|
super(...e), this.centered = !1, this.hrefPattern = "", this.current = 1, this.total = 1, this.disabled = !1, this._handleSelectFocus = () => {
|
|
409
|
-
this.toggleAttribute("is-pointer-focus",
|
|
410
|
+
this.toggleAttribute("is-pointer-focus", u());
|
|
410
411
|
}, this._handleSelectBlur = () => {
|
|
411
412
|
this.toggleAttribute("is-pointer-focus", !1), this.toggleAttribute("select-expanded", !1);
|
|
412
413
|
}, this._handleSelectKeydown = () => {
|
|
@@ -467,23 +468,23 @@ var m = class extends u(e, c) {
|
|
|
467
468
|
this.current = e, this.hrefPattern && i && t.href && (window.location.href = t.href);
|
|
468
469
|
}
|
|
469
470
|
render() {
|
|
470
|
-
return
|
|
471
|
+
return m(this);
|
|
471
472
|
}
|
|
472
|
-
},
|
|
473
|
+
}, g = (h.styles = p, h);
|
|
473
474
|
r([i({
|
|
474
475
|
type: Boolean,
|
|
475
476
|
reflect: !0
|
|
476
|
-
})],
|
|
477
|
+
})], g.prototype, "centered", void 0), r([i({
|
|
477
478
|
type: String,
|
|
478
479
|
attribute: "href-pattern"
|
|
479
|
-
})],
|
|
480
|
+
})], g.prototype, "hrefPattern", void 0), r([i({
|
|
480
481
|
reflect: !0,
|
|
481
|
-
converter:
|
|
482
|
-
})],
|
|
482
|
+
converter: f(1)
|
|
483
|
+
})], g.prototype, "current", void 0), r([i({
|
|
483
484
|
reflect: !0,
|
|
484
|
-
converter:
|
|
485
|
-
})],
|
|
485
|
+
converter: f(1)
|
|
486
|
+
})], g.prototype, "total", void 0), r([i({
|
|
486
487
|
type: Boolean,
|
|
487
488
|
reflect: !0
|
|
488
|
-
})],
|
|
489
|
-
export {
|
|
489
|
+
})], g.prototype, "disabled", void 0), g = r([o("nldd-pagination")], g);
|
|
490
|
+
export { g as NLDDPagination };
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { r as i, s as a } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-D2snH_th.js";
|
|
2
|
+
import { r as i, s as a } from "./custom-element-DGdiDiuN.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as s } from "./query-ChDzi9FQ.js";
|
|
5
|
-
import { t as c } from "./form-associated-mixin-
|
|
5
|
+
import { t as c } from "./form-associated-mixin-BMQQpMlL.js";
|
|
6
6
|
import { t as l } from "./implicit-submission-Csbcor_E.js";
|
|
7
7
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
-
import { t as d } from "./shadow-resets-
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import
|
|
12
|
-
import { t as p } from "./
|
|
13
|
-
import { t as m } from "./
|
|
8
|
+
import { t as d } from "./shadow-resets-CNmJbdJw.js";
|
|
9
|
+
import { t as f } from "./class-map-BQWXee9F.js";
|
|
10
|
+
import "./icon-BzeHXcdi.js";
|
|
11
|
+
import "./button-D_KfPyHS.js";
|
|
12
|
+
import { t as p } from "./described-by-mixin-Doan1yj6.js";
|
|
13
|
+
import { t as m } from "./with-translations-0oyNXfdD.js";
|
|
14
|
+
import { t as h } from "./password-field.i18n-CzdBn-1b.js";
|
|
14
15
|
// src/components/inputs/password-field/password-field.styles.ts
|
|
15
|
-
var
|
|
16
|
+
var g = a`
|
|
16
17
|
:host {
|
|
17
18
|
box-sizing: border-box;
|
|
18
19
|
}
|
|
@@ -199,7 +200,7 @@ var h = a`
|
|
|
199
200
|
}
|
|
200
201
|
`;
|
|
201
202
|
// src/components/inputs/password-field/password-field.template.ts
|
|
202
|
-
function
|
|
203
|
+
function _(e) {
|
|
203
204
|
return e.invalid ? t`
|
|
204
205
|
<div class="password-field__validation-icon-area">
|
|
205
206
|
<nldd-icon class="password-field__validation-icon"
|
|
@@ -216,7 +217,7 @@ function g(e) {
|
|
|
216
217
|
</div>
|
|
217
218
|
` : n;
|
|
218
219
|
}
|
|
219
|
-
function
|
|
220
|
+
function v(e) {
|
|
220
221
|
let n = e.size === "sm" ? "xs" : "sm", r = e._t(e.masked ? "components.password-field.show-action" : "components.password-field.hide-action"), i = e._t(e.masked ? "components.password-field.show-accessible-label" : "components.password-field.hide-accessible-label");
|
|
221
222
|
return t`
|
|
222
223
|
<div class="password-field__visibility-toggle-button">
|
|
@@ -232,10 +233,10 @@ function _(e) {
|
|
|
232
233
|
</div>
|
|
233
234
|
`;
|
|
234
235
|
}
|
|
235
|
-
function
|
|
236
|
+
function y(e) {
|
|
236
237
|
return t`
|
|
237
238
|
<div class="password-field">
|
|
238
|
-
<input class="password-field__input ${
|
|
239
|
+
<input class="password-field__input ${f({ "is-masked": e.masked })}"
|
|
239
240
|
pattern=${e.pattern || n}
|
|
240
241
|
minlength=${e.minlength ?? n}
|
|
241
242
|
maxlength=${e.maxlength ?? n}
|
|
@@ -256,13 +257,13 @@ function v(e) {
|
|
|
256
257
|
@change=${e._handleChange}
|
|
257
258
|
/>
|
|
258
259
|
<div class="password-field__input-fade"></div>
|
|
259
|
-
${g(e)}
|
|
260
260
|
${_(e)}
|
|
261
|
+
${v(e)}
|
|
261
262
|
</div>
|
|
262
263
|
`;
|
|
263
264
|
}
|
|
264
265
|
// src/components/inputs/password-field/password-field.ts
|
|
265
|
-
var
|
|
266
|
+
var b = class extends p(c(m(e, h))) {
|
|
266
267
|
constructor(...e) {
|
|
267
268
|
super(...e), this.size = "md", this.width = "", this.placeholder = "", this.accessibleLabel = "", this.valid = !1, this.invalid = !1, this.masked = !0, this.name = "", this.inputId = "", this.value = "", this.pattern = "", this.required = !1, this.autocomplete = "", this.readonly = !1, this.disabled = !1;
|
|
268
269
|
}
|
|
@@ -298,56 +299,56 @@ var y = class extends f(c(p(e, m))) {
|
|
|
298
299
|
this._input?.blur();
|
|
299
300
|
}
|
|
300
301
|
render() {
|
|
301
|
-
return
|
|
302
|
+
return y(this);
|
|
302
303
|
}
|
|
303
|
-
},
|
|
304
|
+
}, x = (b.shadowRootOptions = {
|
|
304
305
|
...e.shadowRootOptions,
|
|
305
306
|
delegatesFocus: !0
|
|
306
|
-
},
|
|
307
|
+
}, b.styles = g, b.formProperties = ["value"], b.isFormInput = !0, b.isTextEntry = !0, b.blocksImplicitSubmission = !0, b);
|
|
307
308
|
r([i({
|
|
308
309
|
reflect: !0,
|
|
309
310
|
converter: u("md")
|
|
310
|
-
})],
|
|
311
|
+
})], x.prototype, "size", void 0), r([i({
|
|
311
312
|
reflect: !0,
|
|
312
313
|
converter: u("")
|
|
313
|
-
})],
|
|
314
|
+
})], x.prototype, "width", void 0), r([i({
|
|
314
315
|
reflect: !0,
|
|
315
316
|
converter: u("")
|
|
316
|
-
})],
|
|
317
|
+
})], x.prototype, "placeholder", void 0), r([i({
|
|
317
318
|
type: String,
|
|
318
319
|
attribute: "accessible-label"
|
|
319
|
-
})],
|
|
320
|
+
})], x.prototype, "accessibleLabel", void 0), r([i({
|
|
320
321
|
type: Boolean,
|
|
321
322
|
reflect: !0
|
|
322
|
-
})],
|
|
323
|
+
})], x.prototype, "valid", void 0), r([i({
|
|
323
324
|
type: Boolean,
|
|
324
325
|
reflect: !0
|
|
325
|
-
})],
|
|
326
|
+
})], x.prototype, "invalid", void 0), r([i({
|
|
326
327
|
type: Boolean,
|
|
327
328
|
reflect: !0
|
|
328
|
-
})],
|
|
329
|
+
})], x.prototype, "masked", void 0), r([i({
|
|
329
330
|
reflect: !0,
|
|
330
331
|
converter: u("")
|
|
331
|
-
})],
|
|
332
|
+
})], x.prototype, "name", void 0), r([i({
|
|
332
333
|
type: String,
|
|
333
334
|
attribute: "input-id"
|
|
334
|
-
})],
|
|
335
|
+
})], x.prototype, "inputId", void 0), r([i({ type: String })], x.prototype, "value", void 0), r([i({
|
|
335
336
|
type: Number,
|
|
336
337
|
reflect: !0
|
|
337
|
-
})],
|
|
338
|
+
})], x.prototype, "minlength", void 0), r([i({
|
|
338
339
|
type: Number,
|
|
339
340
|
reflect: !0
|
|
340
|
-
})],
|
|
341
|
+
})], x.prototype, "maxlength", void 0), r([i({
|
|
341
342
|
reflect: !0,
|
|
342
343
|
converter: u("")
|
|
343
|
-
})],
|
|
344
|
+
})], x.prototype, "pattern", void 0), r([i({
|
|
344
345
|
type: Boolean,
|
|
345
346
|
reflect: !0
|
|
346
|
-
})],
|
|
347
|
+
})], x.prototype, "required", void 0), r([i({ type: String })], x.prototype, "autocomplete", void 0), r([i({
|
|
347
348
|
type: Boolean,
|
|
348
349
|
reflect: !0
|
|
349
|
-
})],
|
|
350
|
+
})], x.prototype, "readonly", void 0), r([i({
|
|
350
351
|
type: Boolean,
|
|
351
352
|
reflect: !0
|
|
352
|
-
})],
|
|
353
|
-
export {
|
|
353
|
+
})], x.prototype, "disabled", void 0), r([s(".password-field__input")], x.prototype, "_input", void 0), x = r([o("nldd-password-field")], x);
|
|
354
|
+
export { x as NLDDPasswordField };
|
|
@@ -1,15 +1,15 @@
|
|
|
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 { c as i, r as a, s as o } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-D2snH_th.js";
|
|
3
|
+
import { c as i, r as a, s as o } from "./custom-element-DGdiDiuN.js";
|
|
4
4
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { c, n as l, r as u, s as d, t as f } from "./floating-ui.dom-CB34tcZx.js";
|
|
6
6
|
import { t as p } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
-
import { t as m } from "./scroll-fade-
|
|
8
|
-
import {
|
|
7
|
+
import { t as m } from "./scroll-fade-Cae9xqXr.js";
|
|
8
|
+
import { o as h } from "./shadow-resets-CNmJbdJw.js";
|
|
9
9
|
import { n as g } from "./breakpoints-Cwor8TRP.js";
|
|
10
10
|
import { t as _ } from "./popover.i18n-DmFBHUvB.js";
|
|
11
11
|
import { n as v } from "./input-modality-XE0B7yCn.js";
|
|
12
|
-
import { t as y } from "./with-translations-
|
|
12
|
+
import { t as y } from "./with-translations-0oyNXfdD.js";
|
|
13
13
|
import { t as b } from "./dismiss-from-title-bar-C6mP7sWP.js";
|
|
14
14
|
import { r as x } from "./element-state-D-J_cHEV.js";
|
|
15
15
|
import { n as S, t as C } from "./return-focus-CpwHVxYU.js";
|